MultipleFilterCollection

MultipleFilterCollection class

Represents the multiple filter collection.

class MultipleFilterCollection implements Iterable<FilterValue>;

Remarks

NOTE: This class is now obsolete. Instead,please use FilterValueCollection instead. This property will be removed 12 months later since June 2026. Aspose apologizes for any inconvenience you may have experienced.

Constructors

ConstructorDescription
constructor()Constructs one new instance.
constructor(Object)Constructs from an Object convertible to this.

Properties

PropertyTypeDescription
countnumberReadonly. Gets the count of the filter values.
matchBlankbooleanIndicates whether to filter by blank.

Methods

MethodDescription
get(number)Gets DateTimeGroupItem or a string value.
getCount()@deprecated. Please use the ‘count’ property instead. Gets the count of the filter values.
getMatchBlank()@deprecated. Please use the ‘matchBlank’ property instead. Indicates whether to filter by blank.
setMatchBlank(boolean)@deprecated. Please use the ‘matchBlank’ property instead. Indicates whether to filter by blank.
add(string)Adds a label filter criteria.
add(DateTimeGroupingType, number, number, number)Adds a date filter criteria value.
add(DateTimeGroupingType, number, number, number, number, number, number)Adds a date time filter criteria value.
getEnumerator()Get the enumerator for filter value,
isNull()Checks whether the implementation object is null.
toObject()Gets the Object.

[Symbol.iterator](): Iterator<FilterValue>

Returns an iterator over the items in the collection. Enables use of for...of, spread syntax, and Array.from().

constructor()

Constructs one new instance.

constructor();

Remarks

NOTE: This member is now obsolete. Instead,please set FilterColumn.FilterType as FilterType.MultipleFilters then get FilterColumn.MultipleFilters. This property will be removed 12 months later since June 2026. Aspose apologizes for any inconvenience you may have experienced.

constructor(Object)

Constructs from an Object convertible to this.

constructor(obj: Object);

Parameters:

ParameterTypeDescription
objObjectThe object.

count

Readonly. Gets the count of the filter values.

count : number;

matchBlank

Indicates whether to filter by blank.

matchBlank : boolean;

get(number)

Gets DateTimeGroupItem or a string value.

get(index: number) : Object;

Parameters:

ParameterTypeDescription
indexnumber

getCount()

@deprecated. Please use the ‘count’ property instead. Gets the count of the filter values.

getCount() : number;

getMatchBlank()

@deprecated. Please use the ‘matchBlank’ property instead. Indicates whether to filter by blank.

getMatchBlank() : boolean;

setMatchBlank(boolean)

@deprecated. Please use the ‘matchBlank’ property instead. Indicates whether to filter by blank.

setMatchBlank(value: boolean) : void;

Parameters:

ParameterTypeDescription
valuebooleanThe value to set.

add(string)

Adds a label filter criteria.

add(filter: string) : void;

Parameters:

ParameterTypeDescription
filterstringThe filter data.

add(DateTimeGroupingType, number, number, number)

Adds a date filter criteria value.

add(type: DateTimeGroupingType, year: number, month: number, day: number) : void;

Parameters:

ParameterTypeDescription
typeDateTimeGroupingTypeThe type of date filter.
yearnumberThe year.
monthnumberThe month.
daynumberThe day.

add(DateTimeGroupingType, number, number, number, number, number, number)

Adds a date time filter criteria value.

add(type: DateTimeGroupingType, year: number, month: number, day: number, hour: number, minute: number, second: number) : void;

Parameters:

ParameterTypeDescription
typeDateTimeGroupingTypeThe type of date filter.
yearnumberThe year.
monthnumberThe month.
daynumberThe day.
hournumberThe hour.
minutenumberThe minute.
secondnumberThe second.

getEnumerator()

Get the enumerator for filter value,

getEnumerator() : FilterValueEnumerator;

Returns

FilterValueEnumerator

isNull()

Checks whether the implementation object is null.

isNull() : boolean;

toObject()

Gets the Object.

toObject() : Object;