共用方式為


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

適用於