Compartilhar via


EndpointIdentityConverter.CanConvertTo(ITypeDescriptorContext, Type) Método

Definição

Obtém um valor que determina se o conversor pode converter uma instância EndpointIdentity no tipo especificado.

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

Um contexto de descritor de tipo que fornece um contexto de formato.

destinationType
Type

O tipo no qual você deseja converter.

Retornos

Boolean

true se o conversor puder realizar a conversão solicitada; caso contrário, false.

Aplica-se a