Edit

Share via


XamlXmlReader.LineNumber Property

Definition

Gets the line number to report.

public:
 property int LineNumber { int get(); };
public int LineNumber { get; }
member this.LineNumber : int
Public ReadOnly Property LineNumber As Integer

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