言語

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 が変換対象として評価される目的の型。

返品

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

注釈

このコンバーターは、 Stringまたは InstanceDescriptorの 2 つの変換先の種類をサポートしています。

適用対象