Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
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)

private abstract Count : int with get 
private override Count : int with get

Property Value

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

Implements

ICollection.Count

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
Show:
© 2015 Microsoft