get_shared_count()
SmartPtr::get_shared_count() const method
Gets number of shared pointers existing to referenced object, including current one. Asserts current pointer being in shared mode.
int System::SmartPtr<T>::get_shared_count() const
Return Value
Number of shared pointers existing to referenced object, if any. If pointer is null, returns 0.
See Also
- Class SmartPtr
- Namespace System
- Library Aspose.Slides