WeakReference<>
Contents
[
Hide
]WeakReference<> class
Represents a weak reference, which references an object while still allowing that object to be deleted.
class WeakReference<> : public WeakReference<System::Object>
Methods
Method | Description |
---|---|
bool get_IsAlive() const | Gets an indication whether the object referenced by the current WeakReference object has been deleted. |
const WeakPtr<Object>& get_Target() const | Gets the object (the target) referenced by the current WeakReference object. |
void set_Target(const SmartPtr<Object>&) | Sets the object (the target) referenced by the current WeakReference object. |
WeakReference() | Default constructor. |
WeakReference(std::nullptr_t) | Constructor from nullptr. |
WeakReference(const SmartPtr<Object>&) | Initializes a new instance of the WeakReference class, referencing the specified object. |
WeakReference(const SmartPtr<Object>&, bool) | Initializes a new instance of the WeakReference class, referencing the specified object. |
See Also
- Namespace System
- Library Aspose.Slides