Spread WinForms 15
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / ItemTemplateCollectionInfo Class / IndexOf Method
A SubItemInfo object used to find the index.


In This Topic
IndexOf Method (ItemTemplateCollectionInfo)
In This Topic
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)

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