Export (0) Print
Expand All

BitArray Properties

The properties of the BitArray class are listed here. For a complete list of BitArray class members, see the BitArray Members topic.

Public Properties

public propertyCount

Supported by the .NET Compact Framework.

Gets the number of elements contained in the BitArray.
public propertyIsReadOnly

Supported by the .NET Compact Framework.

Gets a value indicating whether the BitArray is read-only.
public propertyIsSynchronized

Supported by the .NET Compact Framework.

Gets a value indicating whether access to the BitArray is synchronized (thread-safe).
public propertyItem Gets or sets the value of the bit at a specific position in the BitArray.

In C#, this property is the indexer for the BitArray class.

public propertyLength

Supported by the .NET Compact Framework.

Gets or sets the number of elements in the BitArray.
public propertySyncRoot

Supported by the .NET Compact Framework.

Gets an object that can be used to synchronize access to the BitArray.

See Also

BitArray Class | System.Collections Namespace

Show:
© 2014 Microsoft