Sets the value of
CopyC#
bit
to true, and returns true if bit was already set

Namespace: Lucene.Net.Util
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
public bool GetAndSet(
	int bit
)
Visual Basic
Public Function GetAndSet ( _
	bit As Integer _
) As Boolean
Visual C++
public:
bool GetAndSet(
	int bit
)

Parameters

bit
Type: System..::..Int32

[Missing <param name="bit"/> documentation for "M:Lucene.Net.Util.BitVector.GetAndSet(System.Int32)"]

Return Value

[Missing <returns> documentation for "M:Lucene.Net.Util.BitVector.GetAndSet(System.Int32)"]

See Also