ComponentOne FlexPivot for WinForms
C1.PivotEngine Assembly / C1.PivotEngine Namespace / PivotFieldList Class / Remove Method / Remove(String) Method
Key of the C1PivotField to remove

In This Topic
    Remove(String) Method
    In This Topic
    Removes the first occurrence of the PivotField with a key that matches the one passed as parameter.
    Syntax
    'Declaration
     
    Public Overloads Function Remove( _
       ByVal fieldKey As String _
    ) As Boolean
    public bool Remove( 
       string fieldKey
    )

    Parameters

    fieldKey
    Key of the C1PivotField to remove

    Return Value

    true if item is successfully removed; otherwise, false. This method also returns false if item was not found in the list.
    See Also