TreeHelper SelectNodes Method (String, Boolean, String, String, String, Int32, Boolean)Kentico 8.0 API Reference
Selects tree nodes according to provided parameters and returns them as dataset. If classNames not specified, the result does not contain coupled data.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

aliasPath
Type: OnlineSystem String
Path. It may contain % and _ as wild card characters for any number of unknown characters or one unknown character respectively (for MS SQL)
combineWithDefaultCulture
Type: OnlineSystem Boolean
Specifies if return the default culture document when specified culture not found
classNames (Optional)
Type: OnlineSystem String
List of classNames to select separated by semicolon (e.g.: "cms.article;cms.product")
where (Optional)
Type: OnlineSystem String
Where condition to use for the data selection
orderBy (Optional)
Type: OnlineSystem String
Order by clause to use for the data selection
maxRelativeLevel (Optional)
Type: OnlineSystem Int32
Maximal child level of the selected nodes
selectOnlyPublished (Optional)
Type: OnlineSystem Boolean
Select only published nodes

Return Value

Type: TreeNodeDataSet
See Also