TextSpanHelper::IsPositive Method (TextSpan)
Visual Studio 2015
Determines whether the start of the given span occurs before the end of the span.
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.
Return Value
Type: System::BooleanReturns true if the start of the span is less than or equal to the end of the span; otherwise, returns false.
A span that is not considered positive can be made positive by calling the MakePositive method.
Show: