InputScopeConverter.CanConvertTo(ITypeDescriptorContext, Type) Methode

Definitie

Bepaalt of een InputScope object kan worden geconverteerd naar een object van een opgegeven type.

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

Parameters

context
ITypeDescriptorContext

Een object dat elke typedescriptorcontext beschrijft. Dit object moet de ITypeDescriptorContext interface implementeren. Deze parameter kan zijn null.

destinationType
Type

Een Type om te controleren op conversiecompatibiliteit.

Retouren

true als destinationType het type Stringis; anders, false.

Van toepassing op