TextSpan.Contains 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.
Overloads
Contains(TextSpan) |
Determines whether |
Contains(Int32) |
Determines whether the position lies within the span. |
Contains(TextSpan)
- Source:
- TextSpan.cs
- Source:
- TextSpan.cs
- Source:
- TextSpan.cs
- Source:
- TextSpan.cs
- Source:
- TextSpan.cs
- Source:
- TextSpan.cs
- Source:
- TextSpan.cs
- Source:
- TextSpan.cs
- Source:
- TextSpan.cs
- Source:
- TextSpan.cs
- Source:
- TextSpan.cs
- Source:
- TextSpan.cs
- Source:
- TextSpan.cs
- Source:
- TextSpan.cs
- Source:
- TextSpan.cs
- Source:
- TextSpan.cs
- Source:
- TextSpan.cs
- Source:
- TextSpan.cs
- Source:
- TextSpan.cs
- Source:
- TextSpan.cs
- Source:
- TextSpan.cs
- Source:
- TextSpan.cs
- Source:
- TextSpan.cs
Determines whether span
falls completely within this span.
public:
bool Contains(Microsoft::CodeAnalysis::Text::TextSpan span);
public bool Contains (Microsoft.CodeAnalysis.Text.TextSpan span);
member this.Contains : Microsoft.CodeAnalysis.Text.TextSpan -> bool
Public Function Contains (span As TextSpan) As Boolean
Parameters
- span
- TextSpan
The span to check.
Returns
true
if the specified span falls completely within this span, otherwise false
.
Applies to
Contains(Int32)
- Source:
- TextSpan.cs
- Source:
- TextSpan.cs
- Source:
- TextSpan.cs
- Source:
- TextSpan.cs
- Source:
- TextSpan.cs
- Source:
- TextSpan.cs
- Source:
- TextSpan.cs
- Source:
- TextSpan.cs
- Source:
- TextSpan.cs
- Source:
- TextSpan.cs
- Source:
- TextSpan.cs
- Source:
- TextSpan.cs
- Source:
- TextSpan.cs
- Source:
- TextSpan.cs
- Source:
- TextSpan.cs
- Source:
- TextSpan.cs
- Source:
- TextSpan.cs
- Source:
- TextSpan.cs
- Source:
- TextSpan.cs
- Source:
- TextSpan.cs
- Source:
- TextSpan.cs
- Source:
- TextSpan.cs
- Source:
- TextSpan.cs
Determines whether the position lies within the span.
public:
bool Contains(int position);
public bool Contains (int position);
member this.Contains : int -> bool
Public Function Contains (position As Integer) As Boolean
Parameters
- position
- Int32
The position to check.
Returns
true
if the position is greater than or equal to Start and strictly less
than End, otherwise false
.