StrokeCollectionConverter.CanConvertFrom(ITypeDescriptorContext, Type) メソッド

定義

StrokeCollectionConverter が、指定した型のオブジェクトを StrokeCollection に変換できるかどうかを示す値を返します。

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

書式指定コンテキストを提供する ITypeDescriptorContext

sourceType
Type

変換対象の Type

戻り値

Boolean

StrokeCollectionConvertersourceType 型のオブジェクトを StrokeCollection に変換できる場合は true。それ以外の場合は false

適用対象