CacheModeConverter.ConvertFrom(ITypeDescriptorContext, CultureInfo, Object) CacheModeConverter.ConvertFrom(ITypeDescriptorContext, CultureInfo, Object) CacheModeConverter.ConvertFrom(ITypeDescriptorContext, CultureInfo, Object) CacheModeConverter.ConvertFrom(ITypeDescriptorContext, CultureInfo, Object) Method

定義

指定したオブジェクトを CacheMode に変換します。Converts a specified object to a 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 ITypeDescriptorContext ITypeDescriptorContext

書式指定コンテキストを提供する ITypeDescriptorContextAn ITypeDescriptorContext that provides a format context.

culture
CultureInfo CultureInfo CultureInfo CultureInfo

特定のカルチャに関する情報を格納する CultureInfoA CultureInfo that holds information about a specific culture.

value
Object Object Object Object

変換される ObjectThe Object to be converted.

戻り値

value を変換して作成された CacheMode。それ以外の場合は例外が発生します。The CacheMode that is created by converting value; otherwise, an exception is raised.

例外

valuenull であるか、または CacheMode に変換できる型ではありません。value is null or not a type that can be converted to CacheMode.

適用対象