SerializableAttribute ComVisibleAttribute RemarksĪn IndexOutOfRangeException exception is thrown when an invalid index is used to access a member of an array or a collection, or to read or write from a particular location in a buffer. Inherits Exception Public NotInheritable Class IndexOutOfRangeException Inherit SystemException Public NotInheritable Class IndexOutOfRangeException Inherit Exception type IndexOutOfRangeException = class
Public sealed class IndexOutOfRangeException : SystemException type IndexOutOfRangeException = class Public sealed class IndexOutOfRangeException : SystemException In this article public ref class IndexOutOfRangeException sealed : Exception public ref class IndexOutOfRangeException sealed : SystemException public sealed class IndexOutOfRangeException : Exception public sealed class IndexOutOfRangeException : SystemException
The exception that is thrown when an attempt is made to access an element of an array or collection with an index that is outside its bounds.