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)

member LineNumber : int with get, set

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: