Share via


TextSpanHelper.IsAfterEndOf(TextSpan, Int32, Int32) Method

Definition

Determines whether the given position occurs after the end of the given span.

public:
 static bool IsAfterEndOf(Microsoft::VisualStudio::TextManager::Interop::TextSpan span, int line, int col);
public:
 static bool IsAfterEndOf(Microsoft::VisualStudio::TextManager::Interop::TextSpan span, int line, int col);
 static bool IsAfterEndOf(Microsoft::VisualStudio::TextManager::Interop::TextSpan span, int line, int col);
public static bool IsAfterEndOf (Microsoft.VisualStudio.TextManager.Interop.TextSpan span, int line, int col);
static member IsAfterEndOf : Microsoft.VisualStudio.TextManager.Interop.TextSpan * int * int -> bool
Public Shared Function IsAfterEndOf (span As TextSpan, line As Integer, col As Integer) As Boolean

Parameters

span
TextSpan

[in] The TextSpan object that is being tested against.

line
Int32

[in] The line index of the position to test.

col
Int32

[in] The column index of the position to test.

Returns

Returns true if the given position is greater than the end of the given span; otherwise, returns false.

Remarks

Use this method to see whether a point is after a span.

Applies to