Click or drag to resize
TreeHelperSelectSingleNode Method (String, Boolean, String, Boolean)
Returns single document node.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.2.23
Syntax
C#
public static TreeNode SelectSingleNode(
	string aliasPath,
	bool combineWithDefaultCulture,
	string className = null,
	bool selectOnlyPublished = true
)

Parameters

aliasPath
Type: SystemString
Node AliasPath
combineWithDefaultCulture
Type: SystemBoolean
Specifies if return the default culture document when specified culture not found
className (Optional)
Type: SystemString
Node ClassName (e.g.: "cms.article")
selectOnlyPublished (Optional)
Type: SystemBoolean
Published nodes only

Return Value

Type: TreeNode
See Also