TextSpanHelper.IsBeforeStartOf(TextSpan, Int32, Int32) Method

Definition

Determines whether the given position occurs before the start of the given span.

public:
 static bool IsBeforeStartOf(Microsoft::VisualStudio::TextManager::Interop::TextSpan span, int line, int col);
public:
 static bool IsBeforeStartOf(Microsoft::VisualStudio::TextManager::Interop::TextSpan span, int line, int col);
 static bool IsBeforeStartOf(Microsoft::VisualStudio::TextManager::Interop::TextSpan span, int line, int col);
public static bool IsBeforeStartOf (Microsoft.VisualStudio.TextManager.Interop.TextSpan span, int line, int col);
static member IsBeforeStartOf : Microsoft.VisualStudio.TextManager.Interop.TextSpan * int * int -> bool
Public Shared Function IsBeforeStartOf (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 less than the start of the given span; otherwise, returns false.

Remarks

Use this method to test whether a point is before a span.

Applies to