Spread Windows Forms 12.0 Product Documentation
IndexOf Method (ItemTemplateCollectionInfo)


GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace > ItemTemplateCollectionInfo Class : IndexOf Method
A SubItemInfo object used to find the index.
Gets the index of the item.
Syntax
'Declaration
 
Public Function IndexOf( _
   ByVal item As ItemTemplateInfo _
) As Integer
'Usage
 
Dim instance As ItemTemplateCollectionInfo
Dim item As ItemTemplateInfo
Dim value As Integer
 
value = instance.IndexOf(item)
public int IndexOf( 
   ItemTemplateInfo item
)

Parameters

item
A SubItemInfo object used to find the index.

Return Value

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

Reference

ItemTemplateCollectionInfo Class
ItemTemplateCollectionInfo Members