Wraps objects the marshaler should marshal as a VT_CY.
public sealed class CurrencyWrapper
The CurrencyWrapper type exposes the following members.
|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.|
|WrappedObject||Gets the wrapped object to be marshaled as type VT_CY.|
|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||Gets the Type of the current instance. (Inherited from Object.)|
|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.
Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1
.NET Framework Client Profile
Supported in: 4, 3.5 SP1
Portable Class Library
Supported in: Portable Class Library
Obsolete (compiler warning) in Windows Phone 8.1
Any public static
in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.