XmlSchemaObject.LineNumber Property


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

 property int LineNumber { int get(); void set(int value); };
public int LineNumber { get; set; }
member this.LineNumber : int with get, set
Public Property LineNumber As Integer

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.

Applies to