March 2002
Intermediate to advanced
864 pages
31h 8m
English
CurrencyWrapper
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; } }