TextRange.Slice(Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Create a slice of the current TextRange.
public Microsoft.VisualStudio.Extensibility.Editor.TextRange Slice (int start, int length);
member this.Slice : int * int -> Microsoft.VisualStudio.Extensibility.Editor.TextRange
Public Function Slice (start As Integer, length As Integer) As TextRange
Parameters
- start
- Int32
The index at which to begin this slice.
- length
- Int32
The length of the slice.
Returns
A slice that consists of length
characters from the current instance starting at index start
.