語言

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 。

傳回

true 若指定類型的物件可轉換為; PathFigureCollection否則, false。

適用於