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
- 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
- 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
.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET