Interface ISearchableTreeWithCulture
Namespace: Umbraco.Cms.Core.Trees
Assembly: Umbraco.Core.dll
Syntax
public interface ISearchableTreeWithCulture : ISearchableTree, IDiscoverable
Methods
View SourceSearchAsync(String, Int32, Int64, String, String)
Searches for results based on the entity type
Declaration
Task<EntitySearchResults> SearchAsync(string query, int pageSize, long pageIndex, string searchFrom = null, string culture = 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 |
| System.String | culture |
Returns
| Type | Description |
|---|---|
| Task<EntitySearchResults> |