## CollectionBase::get_Count method


Returns the number of elements contained in the collection instance. This method cannot be overridden.

```cpp
int32_t System::Collections::CollectionBase<T>::get_Count()
```


### ReturnValue

The number of elements contained in the collection instance. Retrieving the value of this method is an O(1) operation.

## See Also

* Class [CollectionBase](../)
* Namespace [System::Collections](../../)
* Library [Aspose.TeX for C++](../../../)
