LinkConverter.CanConvertTo(ITypeDescriptorContext, Type) Methode

Definitie

Hiermee wordt een waarde opgehaald die bepaalt of dit LinkConverter een object met de opgegeven context naar het opgegeven type kan converteren.

public:
 override bool CanConvertTo(System::ComponentModel::ITypeDescriptorContext ^ context, Type ^ destinationType);
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 ITypeDescriptorContext contextuele informatie over het object dat moet worden geconverteerd.

destinationType
Type

Het type waarnaar het object moet worden geconverteerd.

Retouren

trueals dit LinkConverter het opgegeven object kan converteren; anders. false

Van toepassing op

Zie ook