Método IDynamicValues.GetStandardValues
Creates a collection of string values. Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server.
Namespace: Microsoft.SqlServer.Management.Sdk.Sfc
Assembly: Microsoft.SqlServer.Management.Sdk.Sfc (em Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Sintaxe
'Declaração
Function GetStandardValues ( _
context As ITypeDescriptorContext _
) As TypeConverter.StandardValuesCollection
'Uso
Dim instance As IDynamicValues
Dim context As ITypeDescriptorContext
Dim returnValue As TypeConverter.StandardValuesCollection
returnValue = instance.GetStandardValues(context)
TypeConverter.StandardValuesCollection GetStandardValues(
ITypeDescriptorContext context
)
TypeConverter.StandardValuesCollection^ GetStandardValues(
ITypeDescriptorContext^ context
)
abstract GetStandardValues :
context:ITypeDescriptorContext -> TypeConverter.StandardValuesCollection
function GetStandardValues(
context : ITypeDescriptorContext
) : TypeConverter.StandardValuesCollection
Parâmetros
- context
Tipo: System.ComponentModel.ITypeDescriptorContext
A ITypeDescriptorContext object that contains the context information.
Valor de retorno
Tipo: System.ComponentModel.TypeConverter.StandardValuesCollection
A TypeConverter.StandardValuesCollection object.
Exemplos
The following example creates a collection with two string values.
public TypeConverter.StandardValuesCollection GetStandardValues(ITypeDescriptorContext context)
{
string[] collationName = new string[] { "first item", "second item" };
return new TypeConverter.StandardValuesCollection(collationName);