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

适用于