ValueConversionAttribute(Type, Type) Konstruktor

Definicja

Inicjuje ValueConversionAttribute nowe wystąpienie klasy o określonym typie źródłowym i typie 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 tego konwertera konwertuje.

targetType
Type

Typ tego konwertera jest konwertowany na.

Wyjątki

Nie można stosować nullparametru targetType .

Dotyczy

Zobacz też