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 传递时包装的对象是如何封送的。 包装一个 DecimalCurrencyWrapper 使其封送为一个 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)

适用于