Share via


LineNumber Property of the DocumentParseError Object

LineNumber Property of the DocumentParseError Object

Gets the line number in the XML file where this error occurred. The LineNumber property in conjunction, with the LinePosition property, specifies the exact location in the file where this error occurred.

  [C#]
public Int32 LineNumber {get;}

FakePre-f94b77ece094484fa9cfa01a647100ae-7ba298046d3145febc05306b56dc7bf4

Requirements

Namespace

Defined in Microsoft.SystemDefinitionModel.Tools.

Assembly

Requires SdmCompile (in SdmCompile.dll).

.NET Framework

Requires .NET Framework 2.0.

See Also

Microsoft.SystemDefinitionModel.Tools
DocumentParseError
DocumentParseError.LinePosition

Send comments about this topic to Microsoft

Build date: 10/2/2007