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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.