Leadtools.Dicom.Common Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
GetStandardValues(ITypeDescriptorContext) Method
See Also 
Leadtools.Dicom.Common.Editing.Converters Namespace > DicomPropertyChoiceConverter Class > GetStandardValues Method : GetStandardValues(ITypeDescriptorContext) Method



context
An System.ComponentModel.ITypeDescriptorContext that provides a format context that can be used to extract additional information about the environment from which this converter is invoked. This parameter or properties of this parameter can be null.
context
An System.ComponentModel.ITypeDescriptorContext that provides a format context that can be used to extract additional information about the environment from which this converter is invoked. This parameter or properties of this parameter can be null.
Returns a collection of standard values for the data type this type converter is designed for when provided with a format context.

Syntax

Visual Basic (Declaration) 
Overloads Overrides Public Function GetStandardValues( _
   ByVal context As ITypeDescriptorContext _
) As TypeConverter.StandardValuesCollection
Visual Basic (Usage)Copy Code
Dim instance As DicomPropertyChoiceConverter
Dim context As ITypeDescriptorContext
Dim value As TypeConverter.StandardValuesCollection
 
value = instance.GetStandardValues(context)
C# 
public override TypeConverter.StandardValuesCollection GetStandardValues( 
   ITypeDescriptorContext context
)
C++/CLI 
public:
TypeConverter.StandardValuesCollection^ GetStandardValues( 
   ITypeDescriptorContext^ context
) override 

Parameters

context
An System.ComponentModel.ITypeDescriptorContext that provides a format context that can be used to extract additional information about the environment from which this converter is invoked. This parameter or properties of this parameter can be null.

Return Value

A System.ComponentModel.TypeConverter.StandardValuesCollection that holds a standard set of valid values, or null if the data type does not support a standard set of values.

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

Leadtools.Dicom.Common requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features