System.Xml.XmlUTF8TextReader.GetPosition C# (CSharp) Méthode

GetPosition() private méthode

private GetPosition ( int &row, int &column ) : void
row int
column int
Résultat void
        private void GetPosition(out int row, out int column)
        {
            if (_rowOffsets == null)
            {
                _rowOffsets = BufferReader.GetRows();
            }

            int offset = BufferReader.Offset;

            int j = 0;
            while (j < _rowOffsets.Length - 1 && _rowOffsets[j + 1] < offset)
                j++;

            row = j + 1;
            column = offset - _rowOffsets[j] + 1;
        }