CurrencyWrapper Class
TOC
Collapse the table of content
Expand the table of content

CurrencyWrapper Class

Wraps objects the marshaler should marshal as a VT_CY.

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

System.Object
   System.Runtime.InteropServices.CurrencyWrapper

[Visual Basic]
NotInheritable Public Class CurrencyWrapper
[C#]
public sealed class CurrencyWrapper
[C++]
public __gc __sealed class CurrencyWrapper
[JScript]
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.

Remarks

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.

Requirements

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

Show:
© 2016 Microsoft