ValueConversionAttribute(Type, Type) Konstruktor

Definicja

Inicjuje ValueConversionAttribute nowe wystąpienie klasy z określonym typem źródłowym i typem docelowym.

public:
 ValueConversionAttribute(Type ^ sourceType, Type ^ targetType);
public ValueConversionAttribute(Type sourceType, Type targetType);
new System.Windows.Data.ValueConversionAttribute : Type * Type -> System.Windows.Data.ValueConversionAttribute
Public Sub New (sourceType As Type, targetType As Type)

Parametry

sourceType
Type

Typ ten konwerter konwertuje.

targetType
Type

Typ tego konwertera jest konwertowany na.

Wyjątki

Parametr targetType nie może mieć nullwartości .

Dotyczy

Zobacz też