CurrencyWrapper CurrencyWrapper CurrencyWrapper CurrencyWrapper Class

Definition

Warning

This API is now obsolete.

Wraps objects the marshaler should marshal as a VT_CY.

public ref class CurrencyWrapper sealed
[System.Runtime.InteropServices.ComVisible(true)]
[System.Obsolete("CurrencyWrapper and support for marshalling to the VARIANT type may be unavailable in future releases.")]
public sealed class CurrencyWrapper
type CurrencyWrapper = class
Public NotInheritable Class CurrencyWrapper
Inheritance
CurrencyWrapperCurrencyWrapperCurrencyWrapperCurrencyWrapper
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) CurrencyWrapper(Decimal) CurrencyWrapper(Decimal) CurrencyWrapper(Decimal)

Initializes a new instance of the CurrencyWrapper class with the Decimal to be wrapped and marshaled as type VT_CY.

CurrencyWrapper(Object) CurrencyWrapper(Object) CurrencyWrapper(Object) CurrencyWrapper(Object)

Initializes a new instance of the CurrencyWrapper class with the object containing the Decimal to be wrapped and marshaled as type VT_CY.

Properties

WrappedObject WrappedObject WrappedObject WrappedObject

Gets the wrapped object to be marshaled as type VT_CY.

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to