Lenguaje

XamlSchemaContext.GetValueConverter<TConverterBase> Método

Definición

Devuelve un convertidor de valores que puede convertir en el objeto solicitado 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

TConverterBase

Clase base del convertidor específica.

Parámetros

converterType
Type

Implementación del convertidor.

targetType
XamlType

Tipo de destino deseado para el convertidor.

Devoluciones

con XamlValueConverter<TConverterBase> una restricción que coincide con la restricción que se coloca en la llamada al método.

Se aplica a