HasLineInfo Method

XmlTextReader.HasLineInfo Method ()


Gets a value indicating whether the class can return line information.

Namespace:   System.Xml
Assembly:  System.Xml (in System.Xml.dll)

public bool HasLineInfo()

Return Value

Type: System.Boolean

true if the class can return line information; otherwise, false.


Starting with the .NET Framework 2.0, we recommend that you create XmlReader instances by using the XmlReader.Create method to take advantage of new functionality.

.NET Framework
Available since 2.0
Return to top
© 2016 Microsoft