CurrencyWrapper Constructor (Object^)

 

Initializes a new instance of the CurrencyWrapper class with the object containing the Decimal to be wrapped and marshaled as type VT_CY.

Namespace:   System.Runtime.InteropServices
Assembly:  mscorlib (in mscorlib.dll)

public:
CurrencyWrapper(
	Object^ obj
)

Parameters

obj
Type: System::Object^

The object containing the Decimal to be wrapped and marshaled as VT_CY.

Exception Condition
ArgumentException

The obj parameter is not a Decimal type.

Universal Windows Platform
Available since 8
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Return to top
Show: