TextSpan.FromBounds(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.
Creates a new TextSpan from start
and end
positions as opposed to a position and length.
The returned TextSpan contains the range with start
inclusive,
and end
exclusive.
public:
static Microsoft::CodeAnalysis::Text::TextSpan FromBounds(int start, int end);
public static Microsoft.CodeAnalysis.Text.TextSpan FromBounds (int start, int end);
static member FromBounds : int * int -> Microsoft.CodeAnalysis.Text.TextSpan
Public Shared Function FromBounds (start As Integer, end As Integer) As TextSpan
Parameters
- start
- Int32
- end
- Int32
Returns
Applies to
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.