AquaLogic Interaction Development Kit (IDK) 6.0.0 |

# IDocumentQuery.SetFilters Method

Sets an array of filters to narrow down the query.

void SetFilters(
QueryFilter[] filters
);

#### Parameters

filters
  An array of query filters.

#### Remarks

The filters are AND'ed; a document must satisfy all the filters to be returned by the query. The `ObjectProperty` in each filter must be of one of the following allowed types: `CrawlerProperty.ImageUUID, DocumentProperty.ContentLanguage, DocumentProperty.CrawlerID, DocumentProperty.DatasourceID, DocumentProperty.DocumentTypeID, DocumentProperty.NumParents,DocumentProperty.ParentFolderID, DocumentProperty.URL, ObjectProperty.Created, ObjectProperty.Description, ObjectProperty.IsLocalized, ObjectProperty.Language, ObjectProperty.LastModified, ObjectProperty.LastModifiedBy ObjectProperty.Name, ObjectProperty.ObjectID, ObjectProperty.OwnerID, or ObjectProperty.UUID`.

#### Exceptions

Exception Type | Condition
--- | ---
ArgumentException | The `ObjectProperty` in any of the filters is not one of the above properties.

#### See Also

IDocumentQuery Interface | Plumtree.Remote.PRC Namespace