共用方式為


AxHost.StateConverter.ConvertFrom 方法

定義

這個成員會覆寫 ConvertFrom(ITypeDescriptorContext, CultureInfo, Object)

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

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);
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

Object,代表轉換過的值。

適用於