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

定義

クラスを特定の型から Vector3D 構造体のインスタンスに変換できるかどうかを判断します。

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

変換の評価対象となるソースの型。

返品

型を Vector3D 構造体に変換できるかどうかを示します。

価値 意味
False コンバーターは、指定された型から変換できません。
True コンバーターは、指定された型を Vector3Dに変換できます。

適用対象