System::SmartPtr::GetObjectOrNull 方法

SmartPtr::GetObjectOrNull method

获取指向的对象(如果有)或 nullptr。与 get() 相同。

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

ReturnValue

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

另见