InputScopeNameConverter.CanConvertTo(ITypeDescriptorContext, Type) Methode

Definition

Bestimmt, ob Instanzen des InputScopeName angegebenen Typs konvertiert werden können.

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

Beschreibt die Kontextinformationen eines Typs.

destinationType
Type

Der gewünschte Typ, InputScopeName in den dies ausgewertet wird, in den konvertiert werden soll.

Gibt zurück

true if destinationType is type String; otherwise, false.

Gilt für: