Compartilhar via


TextSpanHelper.IsAfterEndOf Method

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

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
  Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.12.0 (in Microsoft.VisualStudio.Package.LanguageService.12.0.dll)

Syntax

'Declaration
Public Shared Function IsAfterEndOf ( _
    span As TextSpan, _
    line As Integer, _
    col As Integer _
) As Boolean
public static bool IsAfterEndOf(
    TextSpan span,
    int line,
    int col
)
public:
static bool IsAfterEndOf(
    TextSpan span, 
    int line, 
    int col
)
static member IsAfterEndOf : 
        span:TextSpan * 
        line:int * 
        col:int -> bool
public static function IsAfterEndOf(
    span : TextSpan, 
    line : int, 
    col : int
) : boolean

Parameters

  • line
    Type: Int32

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

  • col
    Type: Int32

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

Return Value

Type: Boolean
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.

.NET Framework Security

See Also

Reference

TextSpanHelper Class

Microsoft.VisualStudio.Package Namespace