ValueConversionAttribute(Type, Type) Konstruktor

Definice

Inicializuje novou instanci ValueConversionAttribute třídy se zadaným typem zdroje a cílovým typem.

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, který tento převaděč převede.

targetType
Type

Typ, na který se tento převaděč převede.

Výjimky

Parametr targetType nemůže být null.

Platí pro

Viz také