XamlSchemaContext.GetValueConverter<TConverterBase> Metodo

Definizione

Restituisce un convertitore di valori che può eseguire la conversione nell'oggetto targetType richiesto.

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 specifica del convertitore.

Parametri

converterType
Type

Implementazione del convertitore.

targetType
XamlType

Tipo di destinazione desiderato per il convertitore.

Restituisce

XamlValueConverter<TConverterBase>

Oggetto XamlValueConverter<TConverterBase> con vincolo corrispondente al vincolo presente nella chiamata al metodo.

Si applica a