System::DefaultBoxedValue sınıfı
İçindekiler
[
Saklamak
]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
Yöntemler
| Yöntem | Açıklama |
|---|---|
| DefaultBoxedValue(const T&) | Belirtilen değeri temsil eden DefaultBoxedValue sınıfının yeni bir örneğini oluşturur. |
| Equals(ptr) override | Geçerli ve belirtilen nesneler tarafından temsil edilen kutulanmış değerlerin eşitliğini belirler. |
| GetHashCode() const override | Mevcut nesne için bir karma kodu döndürür. |
| GetType() const override | Nesnenin gerçek türünü alır. |
| is() const | Geçerli nesne tarafından temsil edilen kutulanmış değerin türünün V olup olmadığını belirler. |
| ToString() const override | Kutulanmış değerin dize temsilini döndürür. |
| unbox() const | Kutulanmış değerin kutusunu açar. |
Ayrıca Bakınız
- Class Object
- Namespace System
- Library Aspose.Font for C++