FigureLengthConverter.CanConvertTo(ITypeDescriptorContext, Type) メソッド

定義

FigureLength のインスタンスを指定した型に変換できるかどうかを判断します。

public:
 override bool CanConvertTo(System::ComponentModel::ITypeDescriptorContext ^ typeDescriptorContext, Type ^ destinationType);
public override bool CanConvertTo (System.ComponentModel.ITypeDescriptorContext typeDescriptorContext, Type destinationType);
override this.CanConvertTo : System.ComponentModel.ITypeDescriptorContext * Type -> bool
Public Overrides Function CanConvertTo (typeDescriptorContext As ITypeDescriptorContext, destinationType As Type) As Boolean

パラメーター

typeDescriptorContext
ITypeDescriptorContext

型のコンテキスト情報を記述します。

destinationType
Type

この FigureLength が変換元として評価される際に、変換先となる目的の型。

戻り値

FigureLength のインスタンスを destinationType に変換できる場合は true。それ以外の場合は false

注釈

このコンバーターでは、、または InstanceDescriptorの 2 つの変換先の種類がサポートされていますString

適用対象