TextSpanHelper::IsAfterEndOf Method (TextSpan, Int32, Int32)

 

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

Namespace:   Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)

public:
static bool IsAfterEndOf(
	TextSpan span,
	int line,
	int col
)

Parameters

span
Type: Microsoft.VisualStudio.TextManager.Interop::TextSpan

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

line
Type: System::Int32

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

col
Type: System::Int32

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

Return Value

Type: System::Boolean

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

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

Return to top
Show: