GrapeCity MultiRow Windows Forms Documentation
IndexOf Method (CellCollection)


The cell located in the collection.
Returns the zero-based index of the first occurrence of a value in the collection.
Syntax
Public Function IndexOf( _
   ByVal cellItem As Cell _
) As Integer
Dim instance As CellCollection
Dim cellItem As Cell
Dim value As Integer
 
value = instance.IndexOf(cellItem)
public int IndexOf( 
   Cell cellItem
)

Parameters

cellItem
The cell located in the collection.

Return Value

A System.Int32 value that represents the zero-based index of the first occurrence of the item within the entire collection, if found; otherwise, -1.
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

CellCollection Class
CellCollection Members

 

 


Copyright © GrapeCity, inc. All rights reserved.