ValueConversionAttribute Constructor (Type^, Type^)

 

Initializes a new instance of the ValueConversionAttribute class with the specified source type and target type.

Namespace:   System.Windows.Data
Assembly:  PresentationFramework (in PresentationFramework.dll)

public:
ValueConversionAttribute(
	Type^ sourceType,
	Type^ targetType
)

Parameters

sourceType
Type: System::Type^

The type this converter converts.

targetType
Type: System::Type^

The type this converter converts to.

Exception Condition
ArgumentNullException

The sourceType parameter cannot be null.

ArgumentNullException

The targetType parameter cannot be null.

.NET Framework
Available since 3.0
Return to top
Show: