classe System::DefaultBoxedValue
Contenuti
[
Nascondere
]DefaultBoxedValue class
BoxedValue class implementation. Allows it BoxingValue specializations to be declared without duplicating common code. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.
template<class T>class DefaultBoxedValue : public System::Object
Metodi
| Metodo | Descrizione |
|---|---|
| DefaultBoxedValue(const T&) | Costruisce una nuova istanza della classe DefaultBoxedValue che rappresenta il valore specificato. |
| Equals(ptr) override | Determina l’uguaglianza dei valori incapsulati rappresentati dall’oggetto corrente e da quello specificato. |
| GetHashCode() const override | Restituisce un codice hash per l’oggetto corrente. |
| GetType() const override | Ottiene il tipo reale dell’oggetto. |
| is() const | Determina se il tipo del valore incapsulato rappresentato dall’oggetto corrente è V. |
| ToString() const override | Restituisce la rappresentazione stringa del valore boxed. |
| unbox() const | Estrae il valore boxed. |
Vedi anche
- Class Object
- Namespace System
- Library Aspose.Font for C++