CurrencyWrapper Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the CurrencyWrapper class.
Overloads
CurrencyWrapper(Decimal) |
Initializes a new instance of the CurrencyWrapper class with the |
CurrencyWrapper(Object) |
Initializes a new instance of the CurrencyWrapper class with the object containing the |
CurrencyWrapper(Decimal)
- Source:
- CurrencyWrapper.cs
- Source:
- CurrencyWrapper.cs
- Source:
- CurrencyWrapper.cs
Initializes a new instance of the CurrencyWrapper class with the Decimal
to be wrapped and marshaled as type VT_CY
.
public:
CurrencyWrapper(System::Decimal obj);
public CurrencyWrapper (decimal obj);
new System.Runtime.InteropServices.CurrencyWrapper : decimal -> System.Runtime.InteropServices.CurrencyWrapper
Public Sub New (obj As Decimal)
Parameters
- obj
- Decimal
The Decimal
to be wrapped and marshaled as VT_CY
.
Applies to
CurrencyWrapper(Object)
- Source:
- CurrencyWrapper.cs
- Source:
- CurrencyWrapper.cs
- Source:
- CurrencyWrapper.cs
Initializes a new instance of the CurrencyWrapper class with the object containing the Decimal
to be wrapped and marshaled as type VT_CY
.
public:
CurrencyWrapper(System::Object ^ obj);
public CurrencyWrapper (object obj);
new System.Runtime.InteropServices.CurrencyWrapper : obj -> System.Runtime.InteropServices.CurrencyWrapper
Public Sub New (obj As Object)
Parameters
- obj
- Object
The object containing the Decimal
to be wrapped and marshaled as VT_CY
.
Exceptions
The obj
parameter is not a Decimal type.