CurrencyWrapper Class
Wraps objects the marshaler should marshal as a VT_CY.
Assembly: mscorlib (in mscorlib.dll)
| Name | Description | |
|---|---|---|
![]() | CurrencyWrapper(Decimal) | Initializes a new instance of the CurrencyWrapper class with the Decimal to be wrapped and marshaled as type VT_CY. |
![]() | CurrencyWrapper(Object^) | Initializes a new instance of the CurrencyWrapper class with the object containing the Decimal to be wrapped and marshaled as type VT_CY. |
| Name | Description | |
|---|---|---|
![]() | WrappedObject | Gets the wrapped object to be marshaled as type VT_CY. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
Controls how the wrapped object is marshaled when passed as a Variant. Wrap a Decimal in a CurrencyWrapper to have it marshaled as a VT_CY.
Available since 8
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

