C1.Win.C1FlexGrid Namespace > ColumnCollection Class > IndexOf Method : IndexOf(String,Boolean,Int32) Method |
'Declaration
Public Overloads Function IndexOf( _ ByVal columnName As String, _ ByVal throwIfNotFound As Boolean, _ ByVal startIndex As Integer _ ) As Integer
'Usage
Dim instance As ColumnCollection Dim columnName As String Dim throwIfNotFound As Boolean Dim startIndex As Integer Dim value As Integer value = instance.IndexOf(columnName, throwIfNotFound, startIndex)
public int IndexOf( string columnName, bool throwIfNotFound, int startIndex )
public: int IndexOf( String^ columnName, bool throwIfNotFound, int startIndex )
int columnIndex = _flex.Cols.IndexOf("total"); _flex.AutoSizeCol(columnIndex);
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