GrapeCity MultiRow Windows Forms Documentation
InsertItem Method (ValidatorCollection)


The zero based index at which the item should be inserted.
The CellValidator to insert.
Inserts an element into the collection at the specified index.
Syntax
Protected Overrides Sub InsertItem( _
   ByVal index As Integer, _
   ByVal item As CellValidator _
) 
Dim instance As ValidatorCollection
Dim index As Integer
Dim item As CellValidator
 
instance.InsertItem(index, item)
protected override void InsertItem( 
   int index,
   CellValidator item
)

Parameters

index
The zero based index at which the item should be inserted.
item
The CellValidator to insert.
Exceptions
ExceptionDescription
System.ArgumentNullExceptionThe item is a null reference (Nothing in Visual Basic).
System.ArgumentOutOfRangeExceptionThe index is less than 0 or greater than or equal to items' count.
Requirements

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

See Also

Reference

ValidatorCollection Class
ValidatorCollection Members

 

 


Copyright © GrapeCity, inc. All rights reserved.