Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Determines whether the given position occurs before the start of the given span.
Namespace: Microsoft.VisualStudio.Package
Assemblies: Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Syntax
'Declaration
Public Shared Function IsBeforeStartOf ( _
span As TextSpan, _
line As Integer, _
col As Integer _
) As Boolean
'Usage
Dim span As TextSpan
Dim line As Integer
Dim col As Integer
Dim returnValue As Boolean
returnValue = TextSpanHelper.IsBeforeStartOf(span, _
line, col)
public static bool IsBeforeStartOf(
TextSpan span,
int line,
int col
)
public:
static bool IsBeforeStartOf(
TextSpan span,
int line,
int col
)
static member IsBeforeStartOf :
span:TextSpan *
line:int *
col:int -> bool
public static function IsBeforeStartOf(
span : TextSpan,
line : int,
col : int
) : boolean
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 less than the start of the given span; otherwise, returns false.
Remarks
Use this method to test whether a point is before a span.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.