Export (0) Print
Expand All

XamlSchemaContext.GetValueConverter<TConverterBase> Method

.NET Framework 4.6 and 4.5

Returns a value converter that can convert to the requested targetType.

Namespace:  System.Xaml
Assembly:  System.Xaml (in System.Xaml.dll)

protected internal XamlValueConverter<TConverterBase> GetValueConverter<TConverterBase>(
	Type converterType,
	XamlType targetType
)
where TConverterBase : class

Type Parameters

TConverterBase

The specific converter base class.

Parameters

converterType
Type: System.Type

The converter implementation.

targetType
Type: System.Xaml.XamlType

The desired destination type for the converter.

Return Value

Type: System.Xaml.Schema.XamlValueConverter<TConverterBase>
A XamlValueConverter<TConverterBase> with a constraint that matches the constraint that is put on the method call.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft