TextSpanHelper::IsEmpty Method (TextSpan)
Visual Studio 2015
Determines whether the given span is empty.
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 given span is empty; otherwise, returns false.
An empty span is one in which the start and end positions are equal. However, this does not necessarily mean that the start and end points are 0.
Show: