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 ByXmlTextReader , XmlValidatingReader |