TreeProvider SelectNodes Method (String, String, String, Boolean, String, String, String, Int32, Boolean, Int32, String)Kentico 8.0 API Reference
Returns nodes specified by node alias path, culture and site name, optionally combined with default culture. Result contains coupled data only if classNames are specified.

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

Parameters

siteName
Type: OnlineSystem String
Nodes site name
aliasPath
Type: OnlineSystem String
Nodes alias path - may contain % and _ as wild card characters for any number of unknown characters or one unknown character respectively (for MS SQL).
cultureCode
Type: OnlineSystem String
Nodes culture code
combineWithDefaultCulture
Type: OnlineSystem Boolean
Indicates whether node in default culture should be returned if node in specified culture was not found.
classNames (Optional)
Type: OnlineSystem String
List of class names separated by semicolon (e.g.: "cms.article;cms.product")
where (Optional)
Type: OnlineSystem String
Where condition for the data selection
orderBy (Optional)
Type: OnlineSystem String
Order by clause for the data selection
maxRelativeLevel (Optional)
Type: OnlineSystem Int32
Maximum child level of the selected nodes
selectOnlyPublished (Optional)
Type: OnlineSystem Boolean
Select only published nodes.
topN (Optional)
Type: OnlineSystem Int32
Limits the number of returned items.
columns (Optional)
Type: OnlineSystem String
Columns to be selected. Columns definition must contain mandatory columns (NodeID, NodeLinkedNodeID, DocumentCulture)

Return Value

Type: TreeNodeDataSet
See Also