Lucene.Net.Analysis.Tokenattributes.CharTermAttribute.this C# (CSharp) Method

this() public method

public this ( int index ) : char
index int
return char
        public char this[int index]
        {
            get
            {
                if (index >= TermLength)
                {
                    throw new IndexOutOfRangeException("index");
                }

                return TermBuffer[index];
            }
            set
            {
                if (index >= TermLength)
                {
                    throw new IndexOutOfRangeException("index");
                }

                TermBuffer[index] = value;
            }
        }