Spread Windows Forms 17
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.Data Namespace / SpreadDataColumnCollection Class / IndexOf Method / IndexOf(String) Method
Name of the column


In This Topic
    IndexOf(String) Method
    In This Topic
    Gets the index of the column with specified name
    Syntax
    'Declaration
     
    
    Public Overloads Function IndexOf( _
       ByVal columnName As String _
    ) As Integer
    'Usage
     
    
    Dim instance As SpreadDataColumnCollection
    Dim columnName As String
    Dim value As Integer
     
    value = instance.IndexOf(columnName)
    public int IndexOf( 
       string columnName
    )

    Parameters

    columnName
    Name of the column
    See Also