FlexGrid for WinForms
IndexOf(String) Method



Column name to look for (case-insensitive).
Gets the index of the Column with the specified name.
Syntax
'Declaration
 
Public Overloads Function IndexOf( _
   ByVal columnName As String _
) As Integer
'Usage
 
Dim instance As ColumnCollection
Dim columnName As String
Dim value As Integer
 
value = instance.IndexOf(columnName)
public int IndexOf( 
   string columnName
)
public:
int IndexOf( 
   String^ columnName
) 

Parameters

columnName
Column name to look for (case-insensitive).

Return Value

Index of the column that has the given name in this collection, or -1 if the collection does not contain a column with the given name.
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

ColumnCollection Class
ColumnCollection Members
Overload List

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Send Feedback