Spread Windows Forms 15.0
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / FilterItemCollection Class / Add Method
Custom filter item to add


In This Topic
    Add Method (FilterItemCollection)
    In This Topic
    Adds a filter item to the collection.
    Syntax
    'Declaration
     
    
    Public Function Add( _
       ByVal filterItem As IFilterItem _
    ) As Integer
    'Usage
     
    
    Dim instance As FilterItemCollection
    Dim filterItem As IFilterItem
    Dim value As Integer
     
    value = instance.Add(filterItem)
    public int Add( 
       IFilterItem filterItem
    )

    Parameters

    filterItem
    Custom filter item to add
    Exceptions
    ExceptionDescription
    No display name or length of the display name of the specified filter is zero
    No specified custom filter or specified custom filter is null
    See Also