Export (0) Print
Expand All

BitArray::ICollection::Count Property

.NET Framework 4.6 and 4.5

Gets the number of elements in the BitArray.

Namespace:  System.Collections
Assembly:  System.Collections (in System.Collections.dll)

virtual property int Count {
	int get () sealed = ICollection::Count::get;

Property Value

Type: System::Int32
The number of elements in the BitArray.



Caution noteCaution

This member is not present in the Portable Class Library. If you are developing applications that target the Portable Class Library, use the Count property instead.

This member is an explicit interface member implementation. It can be used only when the BitArray instance is cast to an ICollection interface.

.NET Framework

Supported in: 4.6

Portable Class Library

Supported in: Portable Class Library
© 2015 Microsoft