CurrencyWrapper Classe
Definizione
Avviso
Questa API è ora obsoleta.
Esegue il wrapping degli oggetti di cui il gestore di marshalling deve eseguire il marshalling come VT_CY
.Wraps objects the marshaler should marshal as a VT_CY
.
public ref class CurrencyWrapper sealed
[System.Runtime.InteropServices.ComVisible(true)]
[System.Serializable]
[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
- Ereditarietà
-
CurrencyWrapper
- Attributi
Commenti
Controlla come viene eseguito il marshalling dell'oggetto di cui è stato eseguito il wrapper quando viene passato come Variant.Controls how the wrapped object is marshaled when passed as a Variant. Eseguire il Decimal
wrapping di CurrencyWrapper
un oggetto in un oggetto per VT_CY
eseguirne il marshalling come.Wrap a Decimal
in a CurrencyWrapper
to have it marshaled as a VT_CY
.
Costruttori
CurrencyWrapper(Decimal) |
Inizializza una nuova istanza della classe CurrencyWrapper con il valore |
CurrencyWrapper(Object) |
Inizializza una nuova istanza della classe CurrencyWrapper con l'oggetto contenente il valore |
Proprietà
WrappedObject |
Ottiene l'oggetto di cui è stato eseguito il wrapping, da sottoporre a marshalling come tipo |
Metodi
Equals(Object) |
Determina se l'oggetto specificato è uguale all'oggetto corrente.Determines whether the specified object is equal to the current object. (Ereditato da Object) |
GetHashCode() |
Funge da funzione hash predefinita.Serves as the default hash function. (Ereditato da Object) |
GetType() |
Ottiene l'oggetto Type dell'istanza corrente.Gets the Type of the current instance. (Ereditato da Object) |
MemberwiseClone() |
Crea una copia superficiale dell'oggetto Object corrente.Creates a shallow copy of the current Object. (Ereditato da Object) |
ToString() |
Restituisce una stringa che rappresenta l'oggetto corrente.Returns a string that represents the current object. (Ereditato da Object) |