## SmartPtr::GetObjectOrNull method


Obtiene el objeto apuntado (si lo hay) o nullptr. Igual que [get()](../get/).

```cpp
Object * System::SmartPtr<T>::GetObjectOrNull() const
```


### ReturnValue

Puntero crudo al objeto referenciado (si lo hay) o nullptr.

## Ver también

* Class [Object](../../object/)
* Class [SmartPtr](../)
* Namespace [System](../../)
* Library [Aspose.PDF for C++](../../../)
