XObject.IXmlLineInfo.LineNumber Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets the line number that the underlying XmlReader reported for this XObject.

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

Syntax

Private ReadOnly Property LineNumber As Integer
    Implements IXmlLineInfo.LineNumber
int IXmlLineInfo.LineNumber { get; }

Property Value

Type: System..::.Int32
An Int32 that contains the line number reported by the XmlReader for this XObject.

Implements

IXmlLineInfo..::.LineNumber

Remarks

This method is an explicit interface member implementation of a method in the IXmlLineInfo interface, so in order to call this method, it is necessary to cast to IXmlLineInfo.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

XObject Class

System.Xml.Linq Namespace