Name
CurrencyWrapper
Synopsis
This class is used to create a wrapper around a decimal value. Then,
when you pass the newly created
CurrencyWrapper
to an unmanaged method, the object is marshaled as the
VT_CURRENCY
type.
public sealed class CurrencyWrapper { // Public Constructors public method CurrencyWrapper(decimal obj); public method CurrencyWrapper(object obj); // Public Instance Properties public field decimal WrappedObject{get; } }
Get C# in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.