System.Data.SqlTypes.StreamOnSqlChars.ReadChar C# (CSharp) Метод

ReadChar() публичный Метод

public ReadChar ( ) : int
Результат int
        public override int ReadChar()
        {
            CheckIfStreamClosed();

            // If at the end of stream, return -1, rather than call SqlChars.Readchar,
            // which will throw exception. This is the behavior for Stream.
            //
            if (_lPosition >= _sqlchars.Length)
                return -1;

            int ret = _sqlchars[_lPosition];
            _lPosition++;
            return ret;
        }