TryGetTarget()
WeakReference< T >::TryGetTarget(const SmartPtr<T>&) const method
Gets the object (the target) referenced by the current WeakReference object.
bool System::WeakReference<T>::TryGetTarget(const SmartPtr<T> &data) const
Arguments
Parameter | Type | Description |
---|---|---|
data | const SmartPtr<T>& | Object referenced by the current WeakReference object. |
Return Value
True if an operation succeded, false otherwise.
See Also
- Class SmartPtr
- Class WeakReference< T >
- Namespace System
- Library Aspose.Slides