BitArrayTrySetBit Method
Sets the corresponding bit to true.
Returns true if the bit state was changed.
Namespace: SnapDB.CollectionsAssembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public bool TrySetBit(
int index
)
Public Function TrySetBit (
index As Integer
) As Boolean
public:
bool TrySetBit(
int index
)
function TrySetBit(index);
- index Int32
- Bit position to set.
Booleantrue if the bit state was changed; otherwise,
false if the bit was already set.