- modality
- The Leadtools.Dicom.Common.DataTypes.ModalityType object which ModalityOptions will be returned.
- options
- A ModalityOptions object to be returned for the specified modality.
Visual Basic (Declaration) | |
---|---|
Public Function TryGetValue( _ ByVal modality As ModalityType, _ ByRef options As ModalityOptions _ ) As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As ModalityOptionsCollection Dim modality As ModalityType Dim options As ModalityOptions Dim value As Boolean value = instance.TryGetValue(modality, options) |
C# | |
---|---|
public bool TryGetValue( ModalityType modality, out ModalityOptions options ) |
Managed Extensions for C++ | |
---|---|
public: bool TryGetValue( ModalityType modality, [PARAMFLAG::Out] ModalityOptions* options ) |
C++/CLI | |
---|---|
public: bool TryGetValue( ModalityType modality, [Out] ModalityOptions^ options ) |
Parameters
- modality
- The Leadtools.Dicom.Common.DataTypes.ModalityType object which ModalityOptions will be returned.
- options
- A ModalityOptions object to be returned for the specified modality.
Return Value
True if a ModalityOptions object is found and returned in the options parameter False if no valid object returned.Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7