TraceEventArgs.LineNumber PropertyTraceEventArgs.LineNumber PropertyTraceEventArgs::LineNumber Property

Gets the line number of the function call that raised the event.

Syntax

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

Property Value

Type: System.Int32System.Int32System::Int32

An intIntegerint line number of the function call, or -1 if the line number is not known.

Remarks

The line number is 1-indexed, that is a value of 1 represents the first character in the document.