Skip to content

M_CodeJam_CodeExceptions_IndexOutOfRange

Andrew Koryavchenko edited this page Jun 17, 2018 · 6 revisions

CodeExceptions.IndexOutOfRange Method

Creates IndexOutOfRangeException.

Namespace: CodeJam
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0

Syntax

C#

public static IndexOutOfRangeException IndexOutOfRange(
	string argumentName,
	int value,
	int startIndex,
	int length
)

VB

Public Shared Function IndexOutOfRange ( 
	argumentName As String,
	value As Integer,
	startIndex As Integer,
	length As Integer
) As IndexOutOfRangeException

F#

static member IndexOutOfRange : 
        argumentName : string * 
        value : int * 
        startIndex : int * 
        length : int -> IndexOutOfRangeException 

Parameters

 

argumentName
Type: System.String
Name of the argument.
value
Type: System.Int32
The value.
startIndex
Type: System.Int32
The start index.
length
Type: System.Int32
The length.

Return Value

Type: IndexOutOfRangeException
Initialized instance of IndexOutOfRangeException.

See Also

Reference

CodeExceptions Class
CodeJam Namespace

Clone this wiki locally