Name

IXmlLineInfo

Synopsis

This interface allows XML reader classes (XmlTextReader and XmlValidatingReader) to return line and position information currently being read. If the class is reading data from a stream or other form of input, the HasLineInfo( ) method returns a boolean indicating if line information is provided.

public interface IXmlLineInfo {
// Public Instance Properties
   public int LineNumber{get; }
   public int LinePosition{get; }
// Public Instance Methods
   public bool HasLineInfo( );
}

Implemented By

XmlTextReader, XmlValidatingReader

Get C# in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.