Condividi tramite


Metodo GetStandardValues (ITypeDescriptorContext)

Returns a collection of standard values for the list box in the property grid. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server.

Spazio dei nomi  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Sintassi

'Dichiarazione
Public Overrides Function GetStandardValues ( _
    context As ITypeDescriptorContext _
) As TypeConverter..::..StandardValuesCollection
'Utilizzo
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

Parametri

Valore restituito

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.

Osservazioni

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