PathFigureCollectionConverter.CanConvertFrom 方法

定義

指出物件是否可從指定的型別轉換為 PathFigureCollection 的執行個體。

public:
 override bool CanConvertFrom(System::ComponentModel::ITypeDescriptorContext ^ context, Type ^ sourceType);
public override bool CanConvertFrom (System.ComponentModel.ITypeDescriptorContext context, Type sourceType);
override this.CanConvertFrom : System.ComponentModel.ITypeDescriptorContext * Type -> bool
Public Overrides Function CanConvertFrom (context As ITypeDescriptorContext, sourceType As Type) As Boolean

參數

context
ITypeDescriptorContext

描述類型的內容資訊。

sourceType
Type

查詢是否支援轉換的來源 Type

傳回

Boolean

如果指定型別的物件可以轉換成 PathFigureCollection 則為 true,否則為 false

適用於