Assembly: mscorlib (in mscorlib.dll)
/** @property */ public int get_Length () /** @property */ public void set_Length (int value)
Property ValueThe number of elements in the BitArray.
The property is set to a value that is less than zero.
Length and Count return the same value. Length can be set to a specific value, but Count is read-only.
If Length is set to a value that is less than Count, the BitArray is truncated and the elements after the index value -1 are deleted.
If Length 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.
Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter EditionThe Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.