Skip to content

M_CodeJam_CodeExceptions_IndexOutOfRange

andrewvk edited this page Jun 23, 2016 · 6 revisions

CodeExceptions.IndexOutOfRange Method

Creates

Namespace: CodeJam
Assembly: CodeJam (in CodeJam.dll) Version: 1.0.0.0 (1.0.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

See Also

Reference

CodeExceptions Class
CodeJam Namespace
System.IndexOutOfRangeException
System.IndexOutOfRangeException

Clone this wiki locally