ExtendedProtectionPolicyTypeConverter.CanConvertTo Método

Definição

Devolve se este conversor pode converter o objeto para o tipo especificado.

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

Parâmetros

context
ITypeDescriptorContext

O objetivo a converter.

destinationType
Type

A que representa o tipo para o qual Type queres converter.

Devoluções

true se este conversor conseguir realizar a conversão; caso contrário false.

Aplica-se a