This topic has not yet been rated - Rate this topic

IXmlLineInfo.LinePosition Property

Gets the current line position.

[Visual Basic]
ReadOnly Property LinePosition As Integer
[C#]
int LinePosition {get;}
[C++]
__property int get_LinePosition();
[JScript]
function get LinePosition() : int;

Property Value

The current line position or 0 if no line information is available (for example, HasLineInfo returns false).

Remarks

This property is used primarily for error reporting, but can be called at any time. The starting value is 1. Combined with LineNumber, a value of 1,1 indicates the start of a document.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

IXmlLineInfo Interface | IXmlLineInfo Members | System.Xml Namespace

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.