BitArrayTrySetBit Method

Sets the corresponding bit to true. Returns true if the bit state was changed.

Definition

Namespace: SnapDB.Collections
Assembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public bool TrySetBit(
	int index
)

Parameters

index  Int32
Bit position to set.

Return Value

Boolean
true if the bit state was changed; otherwise, false if the bit was already set.

See Also