Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / FilterItemCollection Class / Add Method
Custom filter item to add
Example


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
    Example
    This example sets a row filter.
    See Also