GetObjectNotNull()
SmartPtr::GetObjectNotNull() const method
Gets currently referenced object (if any) or throws.
T * System::SmartPtr<T>::GetObjectNotNull() const
Return Value
Raw pointer to referenced object.
Exceptions
| Exception | Description |
|---|---|
| System::NullReferenceException | Thrown if called on null-pointer. |
See Also
- Class SmartPtr
- Namespace System
- Library Aspose.Slides