Xceed Grid for WinForms v4.3 Documentation
IndexOf Method (GroupKeyList)


Xceed.Grid.v4.3 Assembly > Xceed.Grid.Collections Namespace > GroupKeyList Class : IndexOf Method
A reference to the object to locate.
Searches for the specified object and returns the zero-based group level of the first occurrence within the list.
Syntax
'Declaration
 
Public Function IndexOf( _
   ByVal value As Object _
) As Integer
'Usage
 
Dim instance As GroupKeyList
Dim value As Object
Dim value As Integer
 
value = instance.IndexOf(value)
public int IndexOf( 
   object value
)

Parameters

value
A reference to the object to locate.

Return Value

The zero-based group level of the first occurrence of value within the entire list, if found; otherwise, returns -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

GroupKeyList Class
GroupKeyList Members