IScriptPosition Interface

Definition

Represents a single point in a script. The script may come from a file or interactive input.

public interface class IScriptPosition
public interface IScriptPosition
[System.Runtime.CompilerServices.NullableContext(2)]
public interface IScriptPosition
type IScriptPosition = interface
[<System.Runtime.CompilerServices.NullableContext(2)>]
type IScriptPosition = interface
Public Interface IScriptPosition
Derived
Attributes

Properties

ColumnNumber

The column number of the position, with the value 1 being the first column.

File

The name of the file, or if the script did not come from a file, then null.

Line

The complete text of the line that this position is included on.

LineNumber

The line number of the position, with the value 1 being the first line.

Offset

The offset from the beginning of the script.

Methods

GetFullScript()

The complete script that this position is included in.

Applies to