Upravit

Sdílet prostřednictvím


XmlSchemaObject.LineNumber Property

Definition

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

public:
 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.

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.

Applies to