Aracılığıyla paylaş


XamlSchemaContext.GetValueConverter<TConverterBase> Yöntem

Tanım

İstenen targetTypeöğesine dönüştürebilen bir değer dönüştürücüsü döndürür.

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)

Tür Parametreleri

TConverterBase

Belirli dönüştürücü temel sınıfı.

Parametreler

converterType
Type

Dönüştürücü uygulaması.

targetType
XamlType

Dönüştürücü için istenen hedef türü.

Döndürülenler

XamlValueConverter<TConverterBase>

XamlValueConverter<TConverterBase> Yöntem çağrısına konur kısıtlaması ile eşleşen bir kısıtlama ile.

Şunlara uygulanır