InputScopeConverter.CanConvertTo(ITypeDescriptorContext, Type) Methode

Definition

Bestimmt, ob ein InputScope Objekt in ein Objekt eines angegebenen Typs konvertiert werden kann.

public:
 override bool CanConvertTo(System::ComponentModel::ITypeDescriptorContext ^ context, Type ^ destinationType);
public override bool CanConvertTo(System.ComponentModel.ITypeDescriptorContext context, Type destinationType);
override this.CanConvertTo : System.ComponentModel.ITypeDescriptorContext * Type -> bool
Public Overrides Function CanConvertTo (context As ITypeDescriptorContext, destinationType As Type) As Boolean

Parameter

context
ITypeDescriptorContext

Ein Objekt, das einen Typdeskriptorkontext beschreibt. Dieses Objekt muss die ITypeDescriptorContext Schnittstelle implementieren. Dieser Parameter kann null sein.

destinationType
Type

A Type , um die Konvertierungskompatibilität zu überprüfen.

Gibt zurück

true if destinationType is type String; otherwise, false.

Gilt für: