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


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

Parameters

column
A reference to the Column object to locate.

Return Value

The zero-based index of the first occurrence of column 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

SortedColumnList Class
SortedColumnList Members