XmlSchemaObject.LineNumber Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.