Gets or sets the number of elements in the BitArray.
Assemblies: System.Collections (in System.Collections.dll)
mscorlib (in mscorlib.dll)
The property is set to a value that is less than zero.
If is set to a value that is greater than Count, the new elements are set to false.
Retrieving the value of this property is an O(1) operation. Setting this property is an O(n) operation.
.NET FrameworkSupported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1, 1.0
.NET Framework Client ProfileSupported in: 4, 3.5 SP1
Portable Class LibrarySupported in: Portable Class Library
.NET for Windows Store appsSupported in: Windows 8
Supported in: Windows Phone 8.1
Supported in: Windows Phone Silverlight 8.1
Supported in: Windows Phone Silverlight 8