CurrencyWrapper 建構函式

定義

初始化 CurrencyWrapper 類別的新執行個體。

多載

名稱 Description
CurrencyWrapper(Decimal)

初始化一個新的類別實例 CurrencyWrapper ,將 Decimal 包裹並編組為型別 VT_CY

CurrencyWrapper(Object)

初始化一個新的類別實例 CurrencyWrapper ,包含包含要包裝並封存的物件 Decimal ,作為型別 VT_CY

CurrencyWrapper(Decimal)

來源:
CurrencyWrapper.cs
來源:
CurrencyWrapper.cs
來源:
CurrencyWrapper.cs
來源:
CurrencyWrapper.cs
來源:
CurrencyWrapper.cs

初始化一個新的類別實例 CurrencyWrapper ,將 Decimal 包裹並編組為型別 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)

參數

obj
Decimal

Decimal 將被包裹並編制為 VT_CY

適用於

CurrencyWrapper(Object)

來源:
CurrencyWrapper.cs
來源:
CurrencyWrapper.cs
來源:
CurrencyWrapper.cs
來源:
CurrencyWrapper.cs
來源:
CurrencyWrapper.cs

初始化一個新的類別實例 CurrencyWrapper ,包含包含要包裝並封存的物件 Decimal ,作為型別 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)

參數

obj
Object

包含 的 Decimal 物件將包裹並分組為 VT_CY

例外狀況

參數 obj 不是 Decimal 型別。

適用於