Condividi tramite


TextSpanHelper.EndsAfterStartOf(TextSpan, TextSpan) Method

Definition

Determines whether the first span ends after the start of the second span.

public:
 static bool EndsAfterStartOf(Microsoft::VisualStudio::TextManager::Interop::TextSpan span1, Microsoft::VisualStudio::TextManager::Interop::TextSpan span2);
public:
 static bool EndsAfterStartOf(Microsoft::VisualStudio::TextManager::Interop::TextSpan span1, Microsoft::VisualStudio::TextManager::Interop::TextSpan span2);
 static bool EndsAfterStartOf(Microsoft::VisualStudio::TextManager::Interop::TextSpan span1, Microsoft::VisualStudio::TextManager::Interop::TextSpan span2);
public static bool EndsAfterStartOf (Microsoft.VisualStudio.TextManager.Interop.TextSpan span1, Microsoft.VisualStudio.TextManager.Interop.TextSpan span2);
static member EndsAfterStartOf : Microsoft.VisualStudio.TextManager.Interop.TextSpan * Microsoft.VisualStudio.TextManager.Interop.TextSpan -> bool
Public Shared Function EndsAfterStartOf (span1 As TextSpan, span2 As TextSpan) As Boolean

Parameters

span1
TextSpan

[in] The first TextSpan object.

span2
TextSpan

[in] The second TextSpan object.

Returns

Returns true if the end of span1 is greater than the start of span2; otherwise, returns false.

Remarks

This method calls the EndsBeforeStartOf method and returns the logical opposite result. This test does not mean that the two spans intersect, only that the end of the first span occurs after the start of the second span.

Applies to