ServiceXNameTypeConverter.CanConvertFrom(ITypeDescriptorContext, Type) Método
Definição
public:
override bool CanConvertFrom(System::ComponentModel::ITypeDescriptorContext ^ context, Type ^ sourceType);
public override bool CanConvertFrom (System.ComponentModel.ITypeDescriptorContext context, Type sourceType);
override this.CanConvertFrom : System.ComponentModel.ITypeDescriptorContext * Type -> bool
Public Overrides Function CanConvertFrom (context As ITypeDescriptorContext, sourceType As Type) As Boolean
Parâmetros
- context
- ITypeDescriptorContext
O contexto do descritor de tipoThe type descriptor context
- sourceType
- Type
O tipo do qual converter.The type to convert from.
Retornos
true se o conversor puder realizar a conversão; caso contrário, false.true if the converter can perform the conversion; otherwise, false.