Interface ISearchableTree
Namespace: Umbraco.Cms.Core.Trees
Assembly: Umbraco.Core.dll
Syntax
public interface ISearchableTree : IDiscoverable
Properties
View SourceTreeAlias
The alias of the tree that the ISearchableTree belongs to
Declaration
string TreeAlias { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
View SourceSearchAsync(String, Int32, Int64, String)
Searches for results based on the entity type
Declaration
Task<EntitySearchResults> SearchAsync(string query, int pageSize, long pageIndex, string searchFrom = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | query | |
System.Int32 | pageSize | |
System.Int64 | pageIndex | |
System.String | searchFrom | A starting point for the search, generally a node id, but for members this is a member type alias |
Returns
Type | Description |
---|---|
Task<EntitySearchResults> |