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 LocalizableEnumConverter
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
参数
- context
类型:System.ComponentModel. . :: . .ITypeDescriptorContext
An ITypeDescriptorContext object that provides the context information.
返回值
类型:System.ComponentModel. . :: . .TypeConverter. . :: . .StandardValuesCollection
A TypeConverter..::..StandardValuesCollection object that contains the list of values.