FigureLengthConverter.ConvertFrom 方法

定义

将指定对象转换为 FigureLength

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

参数

typeDescriptorContext
ITypeDescriptorContext

描述类型的上下文信息。

cultureInfo
CultureInfo

描述正在转换的类型的 CultureInfo

source
Object

要转换的对象。

返回

Object

通过转换 source 创建的 FigureLength

适用于