XmlTextReader.HasLineInfo Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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