[]
        
(Showing Draft Content)

GrapeCity.Win.Spread.InputMan.CellType.ItemTemplateCollection.IndexOf

IndexOf Method

IndexOf(ItemTemplate)

Gets the index of the item.

Declaration
public int IndexOf(ItemTemplate item)
Public Function IndexOf(item As ItemTemplate) As Integer
Parameters
Type Name Description
ItemTemplate item

A SubItem object that need to find the index.

Returns
Type Description
int

The index if the object is found in the collection; otherwise,-1.