This documentation is archived and is not being maintained.

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
public int LineNumber {get; set;}
public: __property int get_LineNumber();
public: __property void set_LineNumber(int);
public function get LineNumber() : int;
public function set LineNumber(int);

Property Value

The line number.


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


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