GrapeCity.Win.MultiRow Namespace > DropDownItemCollection Class : InsertItem Method |
Protected Overrides Sub InsertItem( _ ByVal index As Integer, _ ByVal item As DropDownItem _ )
Dim instance As DropDownItemCollection Dim index As Integer Dim item As DropDownItem instance.InsertItem(index, item)
protected override void InsertItem( int index, DropDownItem item )
Exception | Description |
---|---|
System.ArgumentNullException | The item is a null reference (Nothing in Visual Basic). |
System.ArgumentException | The item has been added to another DropDownItemCollection. |
System.ArgumentOutOfRangeException | The index is less than 0 or greater than or equal to items' count. |
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