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




modality
The Leadtools.Dicom.Common.DataTypes.ModalityType object.
Determines if the specified key is contained within this ModalityOptionsCollection.

Syntax

Visual Basic (Declaration) 
Public Function ContainsKey( _
   ByVal modality As ModalityType _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As ModalityOptionsCollection
Dim modality As ModalityType
Dim value As Boolean
 
value = instance.ContainsKey(modality)
C# 
public bool ContainsKey( 
   ModalityType modality
)
Managed Extensions for C++ 
public: bool ContainsKey( 
   ModalityType modality
) 
C++/CLI 
public:
bool ContainsKey( 
   ModalityType modality
) 

Parameters

modality
The Leadtools.Dicom.Common.DataTypes.ModalityType object.

Return Value

true if the ModalityOptionsCollection contains the key; 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