XPathMessageContextTypeConverter.ConvertFrom 方法

定義

使用指定的內容和文化特性資訊,將提供之內容物件轉換為這個轉換子的序列化 XAML 型別。

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

提供格式內容的型別。

culture
CultureInfo

特定文化的資訊,如日曆與數值格式。

value
Object

要轉換的物件。

傳回

轉換程序的結果。

適用於