ExpressionConverter.CanConvertFrom(ITypeDescriptorContext, Type) Methode

Definition

Gibt zurück, ob dieser Konverter von einem Quellobjekt in ein Expression Objekt konvertiert werden kann.

Diese API unterstützt die Produktinfrastruktur und ist nicht für die direkte Verwendung aus Ihrem Code gedacht.

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

Parameter

context
ITypeDescriptorContext

Ein ITypeDescriptorContext Formatkontext.

sourceType
Type

A Type that represents the type you wish to convert from.

Gibt zurück

Immer false.

Gilt für: