XamlSchemaContext.GetValueConverter<TConverterBase> メソッド

定義

要求された 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)

型パラメーター

TConverterBase

特定のコンバーターの基底クラス。

パラメーター

converterType
Type

コンバーターの実装。

targetType
XamlType

コンバーターの目的の変換先の種類。

返品

メソッド呼び出しに配置される制約と一致する制約を持つ XamlValueConverter<TConverterBase>

適用対象