Share via


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>

メソッドの呼び出し時に指定された制約と一致する制約がある XamlValueConverter<TConverterBase>

適用対象