共用方式為


InvocationInfo.OffsetInLine Property

Definition

Command's character offset in that line. If the command was executed directly through the host interfaces, this will be -1.

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

Property Value

The line offset or -1 if not executed from a text line.

Applies to