Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- 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.