Mono Class Library: System.Collections.BitArray Overview | Members

System.Collections.BitArray.Set Method

Sets the specified element of the BitArray to the value specified.

public void Set (int index, bool value)

Parameters

index
The index of the element to be set.
value
The value to set the indexed element to.

Remarks

If the index is out of range a ArgumentOutOfRangeException will be thrown.

Requirements

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