TextSpanHelper.IsBeforeStartOf(TextSpan, Int32, Int32) 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 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
- 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.