Gets the number of elements that are contained in the collection.
The number of elements that are contained in the collection.
The Count value returns the true number of items. APIs that use the index, such as the Item indexer, use a zero-based index, so you would subtract one from Count in order to specify that you want the last item in the collection.
Minimum supported client
Minimum supported server
|Windows Server 2012 R2|
Build date: 11/16/2013