Plumtree EDK (Enterprise Web Development Kit) 5.4.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, i.e. a document has to 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 ObjectProperty.UUID

#### Exceptions

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

#### See Also

IDocumentQuery Interface | Plumtree.Remote.PRC Namespace