kelas System::DefaultBoxedValue
isi
[
bersembunyi
]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
Metode
| Metode | Deskripsi |
|---|---|
| DefaultBoxedValue(const T&) | Membuat instance baru dari kelas DefaultBoxedValue yang merepresentasikan nilai yang ditentukan. |
| Equals(ptr) override | Menentukan kesetaraan nilai yang dibungkus yang diwakili oleh objek saat ini dan objek yang ditentukan. |
| GetHashCode() const override | Mengembalikan kode hash untuk objek saat ini. |
| GetType() const override | Mendapatkan tipe sebenarnya dari objek. |
| is() const | Menentukan apakah tipe nilai yang dibungkus yang diwakili oleh objek saat ini adalah V. |
| ToString() const override | Mengembalikan representasi string dari nilai yang dibungkus. |
| unbox() const | Melepaskan nilai yang dibungkus. |
Lihat Juga
- Class Object
- Namespace System
- Library Aspose.Page for C++