TreeHelperSelectSingleNode Method (String, Boolean, String, Boolean) |
Returns single document node.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 9.0.0
Syntax 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:
TreeNodeSee Also