Поделиться через


Метод DynamicValueTypeConverter.GetStandardValues (ITypeDescriptorContext)

Returns a collection of standard values for the list box in the property grid. Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server.

Пространство имен:  Microsoft.SqlServer.Management.Sdk.Sfc
Сборка:  Microsoft.SqlServer.Management.Sdk.Sfc (в Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Синтаксис

'Декларация
Public Overrides Function GetStandardValues ( _
    context As ITypeDescriptorContext _
) As TypeConverter.StandardValuesCollection
'Применение
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

Параметры

Возвращаемое значение

Тип: 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.

Замечания

If the context instance implements the IDynamicValues interface, this method calls the IDynamicValues.GetStandardValues method.

См. также

Справочник

DynamicValueTypeConverter Класс

Перегрузка GetStandardValues

Пространство имен Microsoft.SqlServer.Management.Sdk.Sfc