Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

XmlSchemaObject::LineNumber Property

 

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

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

public:
property int LineNumber {
	int get();
	void set(int value);
}

Property Value

Type: System::Int32

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.

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft