TextSpanHelper.IsEmpty(TextSpan) 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.
Determines whether the given span is empty.
public:
static bool IsEmpty(Microsoft::VisualStudio::TextManager::Interop::TextSpan span);
public:
static bool IsEmpty(Microsoft::VisualStudio::TextManager::Interop::TextSpan span);
static bool IsEmpty(Microsoft::VisualStudio::TextManager::Interop::TextSpan span);
public static bool IsEmpty (Microsoft.VisualStudio.TextManager.Interop.TextSpan span);
static member IsEmpty : Microsoft.VisualStudio.TextManager.Interop.TextSpan -> bool
Public Shared Function IsEmpty (span As TextSpan) As Boolean
Parameters
Returns
Returns true
if the given span is empty; otherwise, returns false
.
Remarks
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.