Class ScriptRegion
Contains details about a specific region of text in script file.
Inheritance
System.Object
                  ScriptRegion
              Namespace:Microsoft.SqlTools.ServiceLayer.Workspace.Contracts
Assembly:Microsoft.SqlTools.ServiceLayer.dll
Syntax
public sealed class ScriptRegionProperties
| Improve this Doc View SourceEndColumnNumber
Gets or sets the ending column number of the region.
Declaration
public int EndColumnNumber { get; set; }| Type | Description | 
|---|---|
| System.Int32 | 
EndLineNumber
Gets or sets the ending line number of the region.
Declaration
public int EndLineNumber { get; set; }| Type | Description | 
|---|---|
| System.Int32 | 
EndOffset
Gets or sets the ending file offset of the region.
Declaration
public int EndOffset { get; set; }| Type | Description | 
|---|---|
| System.Int32 | 
File
Gets the file path of the script file in which this region is contained.
Declaration
public string File { get; set; }| Type | Description | 
|---|---|
| System.String | 
StartColumnNumber
Gets or sets the starting column number of the region.
Declaration
public int StartColumnNumber { get; set; }| Type | Description | 
|---|---|
| System.Int32 | 
StartLineNumber
Gets or sets the starting line number of the region.
Declaration
public int StartLineNumber { get; set; }| Type | Description | 
|---|---|
| System.Int32 | 
StartOffset
Gets or sets the starting file offset of the region.
Declaration
public int StartOffset { get; set; }| Type | Description | 
|---|---|
| System.Int32 | 
Text
Gets or sets the text that is contained within the region.
Declaration
public string Text { get; set; }| Type | Description | 
|---|---|
| System.String |