CacheModeConverter.ConvertFrom 메서드

정의

지정된 개체를 CacheMode로 변환합니다.

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

매개 변수

context
ITypeDescriptorContext

형식 컨텍스트를 제공하는 ITypeDescriptorContext입니다.

culture
CultureInfo

특정 문화권에 대한 정보를 보관하는 CultureInfo입니다.

value
Object

변환될 Object입니다.

반환

Object

value를 변환하여 만들어지는 CacheMode이고, 변환할 수 없으면 예외가 발생합니다.

예외

valuenull이거나 CacheMode으로 변환할 수 있는 형식이 아닌 경우

적용 대상