NullableConverter.ConvertFrom(ITypeDescriptorContext, CultureInfo, Object) Method

Definition

지정한 컨텍스트와 culture 정보를 사용하여 지정된 개체를 이 변환기의 유형으로 변환합니다.Converts the given object to the type of this converter, using the specified context and culture information.

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

Parameters

context
ITypeDescriptorContext

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

culture
CultureInfo

현재 culture로 사용할 CultureInfo입니다.The CultureInfo to use as the current culture.

value
Object

변환할 Object입니다.The Object to convert.

Returns

Object

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

Exceptions

변환을 수행할 수 없습니다.The conversion cannot be performed.

Applies to