Share via


ScriptCache.CheckGetScriptArguments Method

Ensures that the given offsets are non-negative.

Namespace:  Microsoft.Data.Schema.SchemaModel
Assembly:  Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)

Syntax

'Declaration
Protected Shared Sub CheckGetScriptArguments ( _
    startOffset As Integer, _
    length As Integer _
)
protected static void CheckGetScriptArguments(
    int startOffset,
    int length
)
protected:
static void CheckGetScriptArguments(
    int startOffset, 
    int length
)
static member CheckGetScriptArguments : 
        startOffset:int * 
        length:int -> unit 
protected static function CheckGetScriptArguments(
    startOffset : int, 
    length : int
)

Parameters

  • startOffset
    Type: System.Int32
    The offset to the starting point of the script in the file.
  • length
    Type: System.Int32
    The length of the script fragment.

Exceptions

Exception Condition
ArgumentOutOfRangeException

One or both of the parameters is negative.

.NET Framework Security

See Also

Reference

ScriptCache Class

Microsoft.Data.Schema.SchemaModel Namespace