共用方式為


IScriptExtent Interface

Definition

Represents the a span of text in a script.

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

Properties

EndColumnNumber

The column number at the end of the extent, with the value 1 being the first column.

EndLineNumber

The line number at the end of the extent, with the value 1 being the first line.

EndOffset

The ending offset of the extent.

EndScriptPosition

The end position of the extent. This position is actually 1 character past the end of the extent.

File

The filename the extent includes, or null if the extent is not included in any file.

StartColumnNumber

The column number at the beginning of the extent, with the value 1 being the first column.

StartLineNumber

The line number at the beginning of the extent, with the value 1 being the first line.

StartOffset

The starting offset of the extent.

StartScriptPosition

The starting position of the extent.

Text

The script text that the extent includes.

Applies to