System.Collections.BitArray.SetAll Method

Sets all bits in the BitArray to the specified value.

Syntax

public void SetAll (bool value)

Parameters

value
The Boolean value to assign to all bits.

Remarks

This method is an O(n) operation, where n is BitArray.Count.

Requirements

Namespace: System.Collections
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0