EXPERIMENTAL: While we think this is here to stay, we may want to change it to be a long.

Get the bitset for any bits that have been set. This is completely distinct from {@link TypeAttribute#Type()}, although they do share similar purposes. The flags can be used to encode information about the token for use by other {@link Lucene.Net.Analysis.TokenFilter}s.

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

Syntax

C#
public virtual int GetFlags()
Visual Basic
Public Overridable Function GetFlags As Integer
Visual C++
public:
virtual int GetFlags()

Return Value

The bits

Implements

FlagsAttribute..::..GetFlags()()()()

See Also