共用方式為


InputScopeNameConverter.ConvertFrom 方法

定義

將指定物件轉換為 InputScopeName

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

參數

context
ITypeDescriptorContext

描述類型的內容資訊。

culture
CultureInfo

描述正要轉換之型別的 CultureInfo

source
Object

要轉換的物件。

傳回

轉換 source 時建立的 InputScopeName

適用於