DynamicValueTypeConverter.GetStandardValues Method (ITypeDescriptorContext)
Returns a collection of standard values for the list box in the property grid. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Namespace: Microsoft.SqlServer.Management.Sdk.Sfc
Assembly: Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Syntax
'Declaration
Public Overrides Function GetStandardValues ( _
context As ITypeDescriptorContext _
) As TypeConverter.StandardValuesCollection
'Usage
Dim instance As DynamicValueTypeConverter
Dim context As ITypeDescriptorContext
Dim returnValue As TypeConverter.StandardValuesCollection
returnValue = instance.GetStandardValues(context)
public override TypeConverter.StandardValuesCollection GetStandardValues(
ITypeDescriptorContext context
)
public:
virtual TypeConverter.StandardValuesCollection^ GetStandardValues(
ITypeDescriptorContext^ context
) override
abstract GetStandardValues :
context:ITypeDescriptorContext -> TypeConverter.StandardValuesCollection
override GetStandardValues :
context:ITypeDescriptorContext -> TypeConverter.StandardValuesCollection
public override function GetStandardValues(
context : ITypeDescriptorContext
) : TypeConverter.StandardValuesCollection
Parameters
- context
Type: System.ComponentModel.ITypeDescriptorContext
An ITypeDescriptorContext object that provides the context information.
Return Value
Type: System.ComponentModel.TypeConverter.StandardValuesCollection
A collection of standard values for the data type this type converter is designed for when provided with a format context.
Remarks
If the context instance implements the IDynamicValues interface, this method calls the IDynamicValues.GetStandardValues method.