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>입니다.

적용 대상