Aracılığıyla paylaş


QuaternionConverter.CanConvertFrom(ITypeDescriptorContext, Type) Yöntem

Tanım

Bu tür dönüştürücüsün belirli bir türden dönüştürülip dönüştürülemeyeceğini belirten bir değer alır.

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

Bu çağrı için ITypeDescriptorContext.

sourceType
Type

Destek için sorgulanan tür.

Döndürülenler

Boolean

true Bu dönüştürücü sağlanan türden dönüştürebiliyorsa, aksi takdirde false olur.

Şunlara uygulanır