BaseNumberConverter.ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type) BaseNumberConverter.ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type) BaseNumberConverter.ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type) BaseNumberConverter.ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type) Method

정의

지정된 개체를 다른 형식으로 변환합니다.Converts the specified object to another type.

public:
 override System::Object ^ ConvertTo(System::ComponentModel::ITypeDescriptorContext ^ context, System::Globalization::CultureInfo ^ culture, System::Object ^ value, Type ^ destinationType);
public override object ConvertTo (System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, Type destinationType);
override this.ConvertTo : System.ComponentModel.ITypeDescriptorContext * System.Globalization.CultureInfo * obj * Type -> obj
Public Overrides Function ConvertTo (context As ITypeDescriptorContext, culture As CultureInfo, value As Object, destinationType As Type) As Object

매개 변수

context
ITypeDescriptorContext ITypeDescriptorContext ITypeDescriptorContext ITypeDescriptorContext

형식 컨텍스트를 제공하는 ITypeDescriptorContext입니다.An ITypeDescriptorContext that provides a format context.

culture
CultureInfo CultureInfo CultureInfo CultureInfo

숫자를 나타내는 문화권이 지정된 CultureInfo입니다.A CultureInfo that specifies the culture to represent the number.

value
Object Object Object Object

변환할 개체입니다.The object to convert.

destinationType
Type Type Type Type

개체를 변환할 대상 유형입니다.The type to convert the object to.

반환

변환된 값을 나타내는 Object입니다.An Object that represents the converted value.

예외

destinationTypenull입니다.destinationType is null.

변환할 수 없는 경우The conversion cannot be performed.

적용 대상