XamlParseException.LineNumber Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets the line number where the exception occurred.

Namespace:  System.Windows.Markup
Assembly:  System.Windows (in System.Windows.dll)

Syntax

Public ReadOnly Property LineNumber As Integer
public int LineNumber { get; }

Property Value

Type: System..::.Int32
The number of the line on which the XAML parsing exception occurred.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

XamlParseException Class

System.Windows.Markup Namespace