LEADTOOLS Medical (Leadtools.Medical.Workstation assembly)
LEAD Technologies, Inc

TryGetValue Method (ModalityOptionsCollection)







The Leadtools.Dicom.Common.DataTypes.ModalityType object which ModalityOptions will be returned.
A ModalityOptions object to be returned for the specified modality.
Gets the ModalityOptions value for the specified Leadtools.Dicom.Common.DataTypes.ModalityType.
Syntax
public bool TryGetValue( 
   ModalityType modality,
   out ModalityOptions options
)
'Declaration
 
Public Function TryGetValue( _
   ByVal modality As ModalityType, _
   ByRef options As ModalityOptions _
) As Boolean
'Usage
 
Dim instance As ModalityOptionsCollection
Dim modality As ModalityType
Dim options As ModalityOptions
Dim value As Boolean
 
value = instance.TryGetValue(modality, options)
public bool TryGetValue( 
   ModalityType modality,
   out ModalityOptions options
)
 function Leadtools.Medical.Workstation.ModalityOptionsCollection.TryGetValue( 
   modality ,
   options 
)
public: bool TryGetValue( 
   ModalityType modality,
   [PARAMFLAG::Out] ModalityOptions* options
) 
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.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ModalityOptionsCollection Class
ModalityOptionsCollection Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.