Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Creates a collection of string values. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur.
Namespace: Microsoft.SqlServer.Management.Sdk.Sfc
Assembly: Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Syntax
'Declaration
Function GetStandardValues ( _
context As ITypeDescriptorContext _
) As TypeConverter.StandardValuesCollection
'Usage
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
Parameter
- context
Typ: System.ComponentModel.ITypeDescriptorContext
A ITypeDescriptorContext object that contains the context information.
Rückgabewert
Typ: System.ComponentModel.TypeConverter.StandardValuesCollection
A TypeConverter.StandardValuesCollection object.
Beispiele
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);