ValueConversionAttribute Constructor (Type^, Type^)
.NET Framework (current version)
Initializes a new instance of the ValueConversionAttribute class with the specified source type and target type.
Assembly: PresentationFramework (in PresentationFramework.dll)
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
Available since 3.0
Show: