This documentation is archived and is not being maintained.

CurrencyWrapper Class

Wraps objects the marshaler should marshal as a VT_CY.

For a list of all members of this type, see CurrencyWrapper Members.


[Visual Basic]
NotInheritable Public Class CurrencyWrapper
public sealed class CurrencyWrapper
public __gc __sealed class CurrencyWrapper
public class CurrencyWrapper

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


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.


Namespace: System.Runtime.InteropServices

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: Mscorlib (in Mscorlib.dll)

See Also

CurrencyWrapper Members | System.Runtime.InteropServices Namespace