Språk

InputScopeNameConverter.CanConvertTo(ITypeDescriptorContext, Type) Metod

Definition

Avgör om instanser av InputScopeName kan konverteras till den angivna typen.

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

Parametrar

context
ITypeDescriptorContext

Beskriver kontextinformationen för en typ.

destinationType
Type

Önskad typ som detta InputScopeName utvärderas att konverteras till.

Returer

true if destinationType is type String; otherwise, false.

Gäller för