ConvertFrom 메서드 (ITypeDescriptorContext, CultureInfo, Object)
Converts the specified value to the Enum type. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.
네임스페이스: Microsoft.SqlServer.Management.Sdk.Sfc
어셈블리: Microsoft.SqlServer.Management.Sdk.Sfc(Microsoft.SqlServer.Management.Sdk.Sfc.dll)
구문
‘선언
Public Overrides Function ConvertFrom ( _
context As ITypeDescriptorContext, _
culture As CultureInfo, _
value As Object _
) As Object
‘사용 방법
Dim instance As LocalizableEnumConverter
Dim context As ITypeDescriptorContext
Dim culture As CultureInfo
Dim value As Object
Dim returnValue As Object
returnValue = instance.ConvertFrom(context, _
culture, value)
public override Object ConvertFrom(
ITypeDescriptorContext context,
CultureInfo culture,
Object value
)
public:
virtual Object^ ConvertFrom(
ITypeDescriptorContext^ context,
CultureInfo^ culture,
Object^ value
) override
abstract ConvertFrom :
context:ITypeDescriptorContext *
culture:CultureInfo *
value:Object -> Object
override ConvertFrom :
context:ITypeDescriptorContext *
culture:CultureInfo *
value:Object -> Object
public override function ConvertFrom(
context : ITypeDescriptorContext,
culture : CultureInfo,
value : Object
) : Object
매개 변수
- context
유형: System.ComponentModel. . :: . .ITypeDescriptorContext
An ITypeDescriptorContext object that provides the context information.
- culture
유형: System.Globalization. . :: . .CultureInfo
A CultureInfo object to use as the current culture.
- value
유형: System. . :: . .Object
The Object to convert.
반환 값
유형: System. . :: . .Object
An Object that represents the converted value.