Share via


IDynamicValues.GetStandardValues Method

Creates a collection of string values. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

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

Parameters

Examples

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);