Negate (Property)

Applies To:

Limit object

Description:

Enables negation to be applied to the filter operator. For example, if a filter operator is set to select only the values equal to a criteria and the negate property is true, then the values returned from the query are not equal to the criteria.

Action:

Read-write, Boolean

Example:

This example shows how to set the negate property of a limit:

var MyLimit = ActiveDocument.Sections["Query"].Limits["State"]
MyLimit.Negate = true