not( )


Adds a not condition to the filter.

The not() function adds a not condition to a WixDataFilter. A filter with a not returns all the items that match the filter as defined up to the not function, but don't match the filter passed to the not function.

If the filter only contains a not() function, it returns all the items that don't match the query defined by the not method.

The collections referenced by both the initial query and the query passed to the not function must be the same.

Method Declaration
Copy
Method Parameters
filterWixDataFilterRequired

A query to add to the initial query as a not condition.

Returns
Return Type:WixDataFilter
Did this help?