## BitArray::Set method


Sets [BitArray](../) element.

```cpp
void System::Collections::BitArray::Set(int index, bool value)
```


| Parameter | Type | Description |
| --- | --- | --- |
| index | int | Index of bit to set. |
| value | bool | [Boolean](../../../system/boolean/) representation of value being set. |

## See Also

* Class [BitArray](../)
* Namespace [System::Collections](../../)
* Library [Aspose.TeX for C++](../../../)
