XamlSchemaContext.GetValueConverter<TConverterBase> Metodo

Definizione

Restituisce un convertitore di valori in grado di convertire nell'oggetto richiesto 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)

Parametri di tipo

TConverterBase

Classe base del convertitore specifica.

Parametri

converterType
Type

Implementazione del convertitore.

targetType
XamlType

Tipo di destinazione desiderato per il convertitore.

Valori restituiti

Oggetto XamlValueConverter<TConverterBase> con un vincolo che corrisponde al vincolo inserito nella chiamata al metodo.

Si applica a