DynamicValueTypeConverter.GetStandardValues Método (ITypeDescriptorContext)
Returns a collection of standard values for the list box in the property grid. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server.
Espacio de nombres: Microsoft.SqlServer.Management.Sdk.Sfc
Ensamblado: Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Sintaxis
'Declaración
Public Overrides Function GetStandardValues ( _
context As ITypeDescriptorContext _
) As TypeConverter.StandardValuesCollection
'Uso
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
Parámetros
- context
Tipo: System.ComponentModel.ITypeDescriptorContext
An ITypeDescriptorContext object that provides the context information.
Valor devuelto
Tipo: 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.
Comentarios
If the context instance implements the IDynamicValues interface, this method calls the IDynamicValues.GetStandardValues method.
Vea también
Referencia
DynamicValueTypeConverter Clase