## SmartPtr::GetPointer method


获取指向的对象（如果有）或 nullptr。与 [get()](../get/) 相同。

```cpp
Pointee_ * System::SmartPtr<T>::GetPointer() const
```


### ReturnValue

指向被引用对象的原始指针（如果有）或 nullptr。

## 另见

* Typedef [Pointee_](../pointee_/)
* Class [SmartPtr](../)
* Namespace [System](../../)
* Library [Aspose.Font for C++](../../../)
