CustomFilterCollection
Contents
[
Hide
]CustomFilterCollection class
Represents the custom filters.
class CustomFilterCollection;
Constructors
| Name | Description |
|---|---|
| constructor() | Constructs new instance. |
| constructor(VObject) | Constructs from a VObject convertible to this. |
Properties
| Property | Type | Description |
|---|---|---|
| and | boolean | Indicates whether the two criteria have an “and” relationship. |
Methods
| Method | Description |
|---|---|
| get(number) | Gets the custom filter in the specific index. |
| custom(FilterOperatorType, VObject, boolean, FilterOperatorType, VObject) | Filters a list with custom criteria. |
| toVObject() | Gets the VObject. |
constructor()
Constructs new instance.
constructor();
Remarks
NOTE: This member is now obsolete. Instead,please set FilterColumn.FilterType as FilterType.CustomFilters then get FilterColumn.CustomFilters. This property will be removed 12 months later since June 2026. Aspose apologizes for any inconvenience you may have experienced.
constructor(VObject)
Constructs from a VObject convertible to this.
constructor(vobj: VObject);
Parameters:
| Parameter | Type | Description |
|---|---|---|
| vobj | VObject | The vobject. |
and
Indicates whether the two criteria have an “and” relationship.
and : boolean;
get(number)
Gets the custom filter in the specific index.
get(index: number) : CustomFilter;
Parameters:
| Parameter | Type | Description |
|---|---|---|
| index | number | The index. |
Returns
custom(FilterOperatorType, VObject, boolean, FilterOperatorType, VObject)
Filters a list with custom criteria.
custom(operatorType1: FilterOperatorType, criteria1: VObject, isAnd: boolean, operatorType2: FilterOperatorType, criteria2: VObject) : void;
Parameters:
| Parameter | Type | Description |
|---|---|---|
| operatorType1 | FilterOperatorType | |
| criteria1 | VObject | |
| isAnd | boolean | |
| operatorType2 | FilterOperatorType | |
| criteria2 | VObject |
toVObject()
Gets the VObject.
toVObject() : VObject;