Click or drag to resize
TreeProviderSelectSingleNodeNodeType Method (String, String, String, Boolean, String, Boolean, Boolean, Boolean)
Returns single node specified by alias path, culture and site name.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 9.0.0
Syntax
C#
protected virtual NodeType SelectSingleNode<NodeType>(
	string siteName,
	string aliasPath,
	string cultureCode,
	bool combineWithDefaultCulture,
	string className,
	bool selectOnlyPublished,
	bool checkPermissions,
	bool selectCoupledData
)
where NodeType : new(), TreeNode

Parameters

siteName
Type: SystemString
Node site name
aliasPath
Type: SystemString
Node alias path
cultureCode
Type: SystemString
Culture code
combineWithDefaultCulture
Type: SystemBoolean
Indicates whether node in default culture should be returned if node in specified culture was not found.
className
Type: SystemString
Node class name (e.g.: "cms.article")
selectOnlyPublished
Type: SystemBoolean
Select only published nodes.
checkPermissions
Type: SystemBoolean
Indicates whether permissions should be checked.
selectCoupledData
Type: SystemBoolean
Indicates whether coupled data should be contained in the result.

Type Parameters

NodeType

Return Value

Type: NodeType
See Also