[]
Adds a filter item to the collection.
public int Add(IFilterItem filterItem)
Public Function Add(filterItem As IFilterItem) As Integer
| Type | Name | Description |
|---|---|---|
| IFilterItem | filterItem | Custom filter item to add |
| Type | Description |
|---|---|
| int | The index of filter item to the collection. |
| Type | Condition |
|---|---|
| ArgumentException | No display name or length of the display name of the specified filter is zero |
| ArgumentException | No specified custom filter or specified custom filter is null |