Parameters
- index
- The zero-based index at which value should be inserted.
- value
- The System.Object to insert into the System.Collections.IList.
Exception | Description |
---|---|
System.ArgumentOutOfRangeException | index is not a valid index in the System.Collections.IList. |
System.NotSupportedException | The System.Collections.IList is read-only.-or- The System.Collections.IList has a fixed size. |
System.NullReferenceException | value is null reference in the System.Collections.IList. |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2