Filters the results, so only entity tokens that have at least one of the given entity tokens as an ancestor, will be returned. This enables searching for the child elements in the console and searching for data that belongs to a specific website on frontend.

Namespace: Composite.Search
Assembly: Composite (in Composite.dll) Version: 6.1.6325.31818

Syntax

C#
public void FilterByAncestors(
	params EntityToken[] entityTokens
)
Visual Basic
Public Sub FilterByAncestors ( _
	ParamArray entityTokens As EntityToken() _
)
Visual C++
public:
void FilterByAncestors(
	... array<EntityToken^>^ entityTokens
)

Parameters

entityTokens
Type: array<Composite.C1Console.Security..::..EntityToken>[]()[][]

[Missing <param name="entityTokens"/> documentation for "M:Composite.Search.SearchQuery.FilterByAncestors(Composite.C1Console.Security.EntityToken[])"]

See Also