TextSpanHelper::ContainsExclusive Method (TextSpan, Int32, Int32)
Visual Studio 2015
Determines whether the given position is contained in the given span, not including the start and end points.
Assembly: Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)
Parameters
- span
-
Type:
Microsoft.VisualStudio.TextManager.Interop::TextSpan
[in] The TextSpan object that is being tested against.
- line
-
Type:
System::Int32
[in] The line index of the position to test.
- col
-
Type:
System::Int32
[in] The column index of the position to test.
Return Value
Type: System::BooleanReturns true if the given position is greater than the start of the span and less than the end of the span. Returns false if the position is exactly equal to the start or end of the span or the position is outside the span.
Use this method to see whether a position is in a span, but not at the starting or ending point of the span.
Show: