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