TextSpanHelper.EndsBeforeStartOf(TextSpan, TextSpan) Methode

Definition

Bestimmt, ob die erste Spanne vor dem Start der zweiten Spanne endet.

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

Parameter

span1
TextSpan

[in] Das erste TextSpan-Objekt.

span2
TextSpan

[in] Das zweite TextSpan-Objekt.

Gibt zurück

Boolean

Gibt true zurück, wenn das Ende von span1 kleiner oder gleich dem Anfang von span2 ist; gibt andernfalls false zurück.

Hinweise

Diese Methode bestimmt, ob die erste Spanne vollständig vor der zweiten Spanne auftritt.

Gilt für