LEADTOOLS Medical (Leadtools.Medical.Workstation assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
Contains Method
See Also 
Leadtools.Medical.Workstation Namespace > ModalityOptionsCollection Class : Contains Method




item
A KeyValuePair structure that represents the Leadtools.Dicom.Common.DataTypes.ModalityType and ModalityOptions.
Determines if the given key value pair is contained within this ModalityOptionsCollection.

Syntax

Visual Basic (Declaration) 
Public Function Contains( _
   ByVal item As KeyValuePair(Of ModalityType,ModalityOptions) _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As ModalityOptionsCollection
Dim item As KeyValuePair(Of ModalityType,ModalityOptions)
Dim value As Boolean
 
value = instance.Contains(item)
Managed Extensions for C++ 
public: bool Contains( 
   KeyValuePair<ModalityType,ModalityOptions*> item
) 
C++/CLI 
public:
bool Contains( 
   KeyValuePair<ModalityType,ModalityOptions^> item
) 

Parameters

item
A KeyValuePair structure that represents the Leadtools.Dicom.Common.DataTypes.ModalityType and ModalityOptions.

Return Value

true if the ModalityOptionsCollection contains the key value pair; otherwise, it is false.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also