Editare

Partajați prin


CurrencyWrapper Constructors

Definition

Initializes a new instance of the CurrencyWrapper class.

Overloads

CurrencyWrapper(Decimal)

Initializes a new instance of the CurrencyWrapper class with the Decimal to be wrapped and marshaled as type VT_CY.

CurrencyWrapper(Object)

Initializes a new instance of the CurrencyWrapper class with the object containing the Decimal to be wrapped and marshaled as type VT_CY.

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.

Applies to