XamlSchemaContext.GetValueConverter<TConverterBase> Método

Definição

Devolve um conversor de valores que pode converter para o .targetType

protected public:
generic <typename TConverterBase>
 where TConverterBase : class System::Xaml::Schema::XamlValueConverter<TConverterBase> ^ GetValueConverter(Type ^ converterType, System::Xaml::XamlType ^ targetType);
protected internal System.Xaml.Schema.XamlValueConverter<TConverterBase> GetValueConverter<TConverterBase>(Type converterType, System.Xaml.XamlType targetType) where TConverterBase : class;
member this.GetValueConverter : Type * System.Xaml.XamlType -> System.Xaml.Schema.XamlValueConverter<'ConverterBase (requires 'ConverterBase : null)> (requires 'ConverterBase : null)
Protected Friend Function GetValueConverter(Of TConverterBase As Class) (converterType As Type, targetType As XamlType) As XamlValueConverter(Of TConverterBase)

Parâmetros de Tipo Genérico

TConverterBase

A classe base específica do conversor.

Parâmetros

converterType
Type

A implementação do conversor.

targetType
XamlType

O tipo de destino desejado para o conversor.

Devoluções

A com uma restrição que corresponde XamlValueConverter<TConverterBase> à restrição que é colocada na chamada ao método.

Aplica-se a