共用方式為


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 命名空間