Interface ISearchableTree
Namespace: Umbraco.Web.Trees
Assembly: Umbraco.Web.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 SourceSearch(String, Int32, Int64, out Int64, String)
Searches for results based on the entity type
Declaration
IEnumerable<SearchResultEntity> Search(string query, int pageSize, long pageIndex, out long totalFound, string searchFrom = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | query | |
System.Int32 | pageSize | |
System.Int64 | pageIndex | |
System.Int64 | totalFound | |
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 |
---|---|
System.Collections.Generic.IEnumerable<SearchResultEntity> |