TreeProvider SelectSingleNode Method (String, String, String, Boolean, String, Boolean, Boolean, Boolean)Kentico 8.0 API Reference
Returns single node specified by alias path, culture and site name matching the provided parameters.

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

Parameters

siteName
Type: OnlineSystem String
Node site name
aliasPath
Type: OnlineSystem String
Node alias path
cultureCode
Type: OnlineSystem String
Node culture
combineWithDefaultCulture
Type: OnlineSystem Boolean
Indicates whether node in default culture should be returned if node in specified culture was not found.
className (Optional)
Type: OnlineSystem String
Node class name (e.g.: "cms.article")
selectOnlyPublished (Optional)
Type: OnlineSystem Boolean
Select only published nodes.
checkPermissions (Optional)
Type: OnlineSystem Boolean
Indicates whether permissions should be checked.
selectCoupledData (Optional)
Type: OnlineSystem Boolean
Indicates whether coupled data should be selected.

Return Value

Type: TreeNode
See Also