FlexPivot for WPF | ComponentOne
C1.PivotEngine Assembly / C1.PivotEngine Namespace / PivotFieldList Class / IndexOf Method / IndexOf(String) Method
Key of the field to look for.

In This Topic
    IndexOf(String) Method
    In This Topic
    Gets the position of a given PivotField in the list.
    Syntax
    'Declaration
     
    Public Overloads Function IndexOf( _
       ByVal fieldKey As String _
    ) As Integer
    public int IndexOf( 
       string fieldKey
    )

    Parameters

    fieldKey
    Key of the field to look for.

    Return Value

    The index of the field in the list, or -1 if the field is not a member of the list.
    See Also