فئة System::DefaultBoxedValue
محتويات
[
يخفي
]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
الطرق
| طريقة | الوصف |
|---|---|
| DefaultBoxedValue(const T&) | ينشئ مثالًا جديدًا من فئة DefaultBoxedValue التي تمثل القيمة المحددة. |
| Equals(ptr) override | يحدد مساواة القيم المُغَلَّفة التي تمثلها الكائنات الحالية والمحددة. |
| GetHashCode() const override | يعيد رمز تجزئة للكائن الحالي. |
| GetType() const override | يحصل على النوع الفعلي للكائن. |
| is() const | يحدد ما إذا كان نوع القيمة المُغَلَّفة التي يمثلها الكائن الحالي هو V. |
| ToString() const override | يعيد تمثيل السلسلة للقيمة المعبأة. |
| unbox() const | يفك تعبئة القيمة المعبأة. |
انظر أيضًا
- Class Object
- Namespace System
- Library Aspose.Font for C++