XamlSchemaContext.GetValueConverter<TConverterBase> メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
要求された 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> 。