LinkConverter.CanConvertTo(ITypeDescriptorContext, Type) Metodo

Definizione

Recupera un valore che determina se può LinkConverter convertire un oggetto con il contesto specificato nel tipo specificato.

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

Parametri

context
ITypeDescriptorContext

Oggetto ITypeDescriptorContext che fornisce informazioni contestuali sull'oggetto da convertire.

destinationType
Type

Tipo in cui convertire l'oggetto.

Valori restituiti

true se è LinkConverter in grado di convertire l'oggetto specificato; in caso contrario, false.

Si applica a

Vedi anche