IXmlLineInfo.LineNumber Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the current line number.
public:
property int LineNumber { int get(); };
public int LineNumber { get; }
member this.LineNumber : int
Public ReadOnly Property LineNumber As Integer
Property Value
The current line number 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 LinePosition, a value of 1,1 indicates the start of a document.
Applies to
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.