다음을 통해 공유


ConvertTo 메서드 (ITypeDescriptorContext, CultureInfo, Object, Type)

이 API는 .NET Framework 인프라를 지원하며 코드에서 직접 사용할 수 없습니다.

이 멤버는 EnumConverter. . :: . .ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type)을(를) 재정의합니다.

네임스페이스:  Microsoft.SqlServer.Dts.Design
어셈블리:  Microsoft.SqlServer.Dts.Design.dll의 Microsoft.SqlServer.Dts.Design

구문

‘선언
Public Overrides Function ConvertTo ( _
    context As ITypeDescriptorContext, _
    culture As CultureInfo, _
    value As Object, _
    destinationType As Type _
) As Object
‘사용 방법
Dim instance As LocalizedEnumConverter
Dim context As ITypeDescriptorContext
Dim culture As CultureInfo
Dim value As Object
Dim destinationType As Type
Dim returnValue As Object

returnValue = instance.ConvertTo(context, _
    culture, value, destinationType)
public override Object ConvertTo(
    ITypeDescriptorContext context,
    CultureInfo culture,
    Object value,
    Type destinationType
)
public:
virtual Object^ ConvertTo(
    ITypeDescriptorContext^ context, 
    CultureInfo^ culture, 
    Object^ value, 
    Type^ destinationType
) override
abstract ConvertTo : 
        context:ITypeDescriptorContext * 
        culture:CultureInfo * 
        value:Object * 
        destinationType:Type -> Object 
override ConvertTo : 
        context:ITypeDescriptorContext * 
        culture:CultureInfo * 
        value:Object * 
        destinationType:Type -> Object 
public override function ConvertTo(
    context : ITypeDescriptorContext, 
    culture : CultureInfo, 
    value : Object, 
    destinationType : Type
) : Object

반환 값

형식: System. . :: . .Object