CurrencyWrapper 類別

定義

警告

CurrencyWrapper and support for marshalling to the VARIANT type may be unavailable in future releases.

包裝封送處理器應將其當做 VT_CY 來封送處理的物件。

public ref class CurrencyWrapper sealed
[System.Obsolete("CurrencyWrapper and support for marshalling to the VARIANT type may be unavailable in future releases.")]
public sealed class CurrencyWrapper
public sealed class CurrencyWrapper
[System.Runtime.InteropServices.ComVisible(true)]
[System.Serializable]
public sealed class CurrencyWrapper
[<System.Obsolete("CurrencyWrapper and support for marshalling to the VARIANT type may be unavailable in future releases.")>]
type CurrencyWrapper = class
type CurrencyWrapper = class
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Serializable>]
type CurrencyWrapper = class
Public NotInheritable Class CurrencyWrapper
繼承
CurrencyWrapper
屬性

備註

控制當做 Variant 傳遞時,包裝的物件如何封送處理。 Decimal將 包裝在 中 CurrencyWrapper ,使其封送處理為 VT_CY

建構函式

CurrencyWrapper(Decimal)
已淘汰.

使用要被包裝並當做型別 Decimal 封送處理的 VT_CY,初始化 CurrencyWrapper 類別的新執行個體。

CurrencyWrapper(Object)
已淘汰.

使用物件 (包含要被包裝並當做型別 Decimal 封送處理的 VT_CY),初始化 CurrencyWrapper 類別的新執行個體。

屬性

WrappedObject
已淘汰.

取得要當做型別 VT_CY 封送處理的已包裝物件。

方法

Equals(Object)
已淘汰.

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()
已淘汰.

做為預設雜湊函式。

(繼承來源 Object)
GetType()
已淘汰.

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()
已淘汰.

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()
已淘汰.

傳回代表目前物件的字串。

(繼承來源 Object)

適用於