TreeProvider SelectSingleNode Method (String, String, String, Boolean, String, Boolean, Boolean, Boolean)Kentico 8.1 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.1.5347.20411)

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