IDynamicValues.GetStandardValues 메서드
Creates a collection of string values. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.
네임스페이스: Microsoft.SqlServer.Management.Sdk.Sfc
어셈블리: Microsoft.SqlServer.Management.Sdk.Sfc(Microsoft.SqlServer.Management.Sdk.Sfc.dll)
구문
‘선언
Function GetStandardValues ( _
context As ITypeDescriptorContext _
) As TypeConverter.StandardValuesCollection
‘사용 방법
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
매개 변수
- context
유형: System.ComponentModel.ITypeDescriptorContext
A ITypeDescriptorContext object that contains the context information.
반환 값
유형: System.ComponentModel.TypeConverter.StandardValuesCollection
A TypeConverter.StandardValuesCollection object.
예
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);