GrapeCity.Win.MultiRow Namespace > ListLabelCell.ObjectCollection Class : Insert Method |
<SuppressMessageAttribute(Category="Microsoft.Naming", CheckId="CA1725:ParameterNamesShouldMatchBaseDeclaration", Scope="", Target="", MessageId="1#", Justification="")> Public Sub Insert( _ ByVal index As Integer, _ ByVal item As Object _ )
Dim instance As ListLabelCell.ObjectCollection Dim index As Integer Dim item As Object instance.Insert(index, item)
[SuppressMessage(Category="Microsoft.Naming", CheckId="CA1725:ParameterNamesShouldMatchBaseDeclaration", Scope="", Target="", MessageId="1#", Justification="")] public void Insert( int index, object item )
Exception | Description |
---|---|
System.ArgumentNullException | The item parameter is a null reference (Nothing in Visual Basic). |
System.InvalidOperationException | The cell's ListCell.DataSource property value is not a null reference (Nothing in Visual Basic). |
System.ArgumentOutOfRangeException | The index is less than 0 or greater than the number of items in the collection. |
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