CurrencyWrapper Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
CurrencyWrapper and support for marshalling to the VARIANT type may be unavailable in future releases.
Wraps objects the marshaler should marshal as a 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
- Inheritance
-
CurrencyWrapper
- Attributes
Remarks
Controls how the wrapped object is marshaled when passed as a Variant. Wrap a Decimal
in a CurrencyWrapper
to have it marshaled as a VT_CY
.
Constructors
CurrencyWrapper(Decimal) |
Initializes a new instance of the CurrencyWrapper class with the |
CurrencyWrapper(Object) |
Initializes a new instance of the CurrencyWrapper class with the object containing the |
Properties
WrappedObject |
Gets the wrapped object to be marshaled as type |
Methods
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |