Initializes a new instance of the IndexOutOfRangeException with default properties.
[Visual Basic] Overloads Public Sub New() [C#] public IndexOutOfRangeException(); [C++] public: IndexOutOfRangeException(); [JScript] public function IndexOutOfRangeException();
IndexOutOfRangeException inherits from the Exception class. This constructor sets the properties of the Exception object as follows:
Property Type | Conditon |
---|---|
InnerException | null |
Message | The empty string. |
IndexOutOfRangeException Class | IndexOutOfRangeException Members | System Namespace | IndexOutOfRangeException Constructor Overload List