TreeProviderSelectSingleNode Method (String, String, String, Boolean, String, Boolean, Boolean, Boolean) |
Returns single node specified by alias path, culture and site name matching the provided parameters.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 13.0.131
Syntax public virtual TreeNode SelectSingleNode(
string siteName,
string aliasPath,
string cultureCode,
bool combineWithDefaultCulture,
string className = null,
bool selectOnlyPublished = true,
bool checkPermissions = false,
bool selectCoupledData = true
)
Parameters
- siteName
- Type: SystemString
Node site name - aliasPath
- Type: SystemString
Node alias path - cultureCode
- Type: SystemString
Node culture - combineWithDefaultCulture
- Type: SystemBoolean
Indicates whether node in default culture should be returned if node in specified culture was not found. - className (Optional)
- Type: SystemString
Node class name (e.g.: "cms.article") - selectOnlyPublished (Optional)
- Type: SystemBoolean
Select only published nodes. - checkPermissions (Optional)
- Type: SystemBoolean
Indicates whether permissions should be checked. - selectCoupledData (Optional)
- Type: SystemBoolean
Indicates whether coupled data should be selected.
Return Value
Type:
TreeNodeSee Also