CurrencyWrapper Kelas

Definisi

Perhatian

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

Membungkus objek marshaler harus marshal sebagai 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
Warisan
CurrencyWrapper
Atribut

Keterangan

Mengontrol bagaimana objek yang dibungkus di-marshal ketika diteruskan sebagai Varian. Bungkus Decimal dalam CurrencyWrapper untuk memilikinya marshaled sebagai VT_CY.

Konstruktor

CurrencyWrapper(Decimal)
Kedaluwarsa.

Menginisialisasi instans CurrencyWrapper baru kelas dengan yang Decimal akan dibungkus dan di-marshal sebagai jenis VT_CY.

CurrencyWrapper(Object)
Kedaluwarsa.

Menginisialisasi instans CurrencyWrapper baru kelas dengan objek yang berisi Decimal yang akan dibungkus dan di-marshal sebagai jenis VT_CY.

Properti

WrappedObject
Kedaluwarsa.

Mendapatkan objek yang dibungkus untuk dijadikan marshal sebagai jenis VT_CY.

Metode

Equals(Object)
Kedaluwarsa.

Menentukan apakah objek yang ditentukan sama dengan objek saat ini.

(Diperoleh dari Object)
GetHashCode()
Kedaluwarsa.

Berfungsi sebagai fungsi hash default.

(Diperoleh dari Object)
GetType()
Kedaluwarsa.

Mendapatkan dari instans Type saat ini.

(Diperoleh dari Object)
MemberwiseClone()
Kedaluwarsa.

Membuat salinan dangkal dari saat ini Object.

(Diperoleh dari Object)
ToString()
Kedaluwarsa.

Mengembalikan string yang mewakili objek saat ini.

(Diperoleh dari Object)

Berlaku untuk