XamlXmlReader.LineNumber Property

Definition

Gets the line number to report.

C#
public int LineNumber { get; }

Property Value

The line number to report.

Implements

Remarks

This property is part of the IXamlLineInfo implementation. Node types of StartObject, StartMember, NamespaceDeclaration, or Value can return a line number. Other node types return a value of 0. All node types return 0 if HasLineInfo is false.

Applies to

Продукт Версии
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10