IXmlLineInfo Interface
TOC
Collapse the table of content
Expand the table of content

IXmlLineInfo Interface

 

Provides an interface to enable a class to return line and position information.

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

type IXmlLineInfo = interface end

NameDescription
System_CAPS_pubpropertyLineNumber

Gets the current line number.

System_CAPS_pubpropertyLinePosition

Gets the current line position.

NameDescription
System_CAPS_pubmethodHasLineInfo()

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

The following example parses an XML fragment. Each node is displayed, including its depth, line number, and line position.

No code example is currently available or this language may not be supported.

Universal Windows Platform
Available since 4.5
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Return to top
Show:
© 2016 Microsoft