XamlXmlReader.LineNumber Property

.NET Framework (current version)
 

Gets the line number to report.

Namespace:   System.Xaml
Assembly:  System.Xaml (in System.Xaml.dll)

public int LineNumber { get; }

Property Value

Type: System.Int32

The line number to report.

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.

.NET Framework
Available since 4.0
Return to top
Show: