Share via


MatrixConverter.CanConvertFrom(ITypeDescriptorContext, Type) Yöntem

Tanım

Bir nesnenin belirli bir türden örneğine Matrixdönüştürülip dönüştürülemeyeceğini belirler.

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

Parametreler

context
ITypeDescriptorContext

Bir türün bağlam bilgileri.

sourceType
Type

Dönüştürme için değerlendirilen kaynağın türü.

Döndürülenler

true türü bir Matrixtürüne dönüştürülebiliyorsa; dönüştürülemiyorsa, false.

Şunlara uygulanır