Export (0) Print
Expand All

XmlSchemaObject.LineNumber Property

Gets or sets the line number in the file to which the schema element refers.

[Visual Basic]
Public Property LineNumber As Integer
[C#]
public int LineNumber {get; set;}
[C++]
public: __property int get_LineNumber();
public: __property void set_LineNumber(int);
[JScript]
public function get LineNumber() : int;
public function set LineNumber(int);

Property Value

The line number.

Remarks

LineNumber is used to store the line number when a schema is read from a file. This is reported through XmlSchemaException for error handling.

Requirements

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

See Also

XmlSchemaObject Class | XmlSchemaObject Members | System.Xml.Schema Namespace

Show:
© 2015 Microsoft