## SmartPtr::ToObjectPtr method


Converte qualsiasi tipo di puntatore in un puntatore a [Object](../../object/). Non richiede che il tipo [Pointee_](../pointee_/) sia completo.

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


### ReturnValue

Puntatore grezzo all'oggetto referenziato (se presente) o nullptr.
## Osservazioni


Implementazione.

## Vedi anche

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