Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As FpScrollBarButtonCollection Dim index As Integer Dim value As Object instance.Insert(index, value) |
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 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8