C # in a Nutshell, Second Edition

IXmlLineInfo CF 1.0

System.Xml (system.xml.dll) interface

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

Категории