get_Count()

CollectionBase::get_Count() method

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

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

Return Value

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

See Also