Méthode GetStandardValues (ITypeDescriptorContext)
Returns a collection of standard values for the list box in the property grid. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Espace de noms : Microsoft.SqlServer.Management.Sdk.Sfc
Assembly : Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Syntaxe
'Déclaration
Public Overrides Function GetStandardValues ( _
context As ITypeDescriptorContext _
) As TypeConverter..::..StandardValuesCollection
'Utilisation
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
Paramètres
- context
Type : System.ComponentModel. . :: . .ITypeDescriptorContext
An ITypeDescriptorContext object that provides the context information.
Valeur de retour
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.
Notes
If the context instance implements the IDynamicValues interface, this method calls the IDynamicValues..::..GetStandardValues method.