TreeProviderSelectNodes Method (String, String, String, Boolean, String, String, String, Int32, Boolean, Guid, String, Boolean, Int32, String) |
Returns nodes without coupled data specified by node alias path, culture and site name, optionally combined with default culture.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.2.23
Syntax public virtual TreeNodeDataSet SelectNodes(
string siteName,
string aliasPath,
string cultureCode,
bool combineWithDefaultCulture,
string classNames,
string where,
string orderBy,
int maxRelativeLevel,
bool selectOnlyPublished,
Guid relationshipWithNodeGuid,
string relationshipName,
bool relatedNodeIsOnTheLeftSide,
int topN,
string columns
)
Parameters
- siteName
- Type: SystemString
Nodes site name - aliasPath
- Type: SystemString
Nodes alias path - may contain % and _ as wild card characters for any number of unknown characters or one unknown character respectively (for MS SQL). - cultureCode
- Type: SystemString
Nodes culture code - combineWithDefaultCulture
- Type: SystemBoolean
Indicates whether node in default culture should be returned if node in specified culture was not found. - classNames
- Type: SystemString
List of class names separated by semicolon (e.g.: "cms.article;cms.product") - where
- Type: SystemString
Where condition for the data selection - orderBy
- Type: SystemString
Order by clause for the data selection - maxRelativeLevel
- Type: SystemInt32
Maximum child level of the selected nodes - selectOnlyPublished
- Type: SystemBoolean
Select only published nodes. - relationshipWithNodeGuid
- Type: SystemGuid
Select nodes that are related to node with this GUID. - relationshipName
- Type: SystemString
Relationship name - relatedNodeIsOnTheLeftSide
- Type: SystemBoolean
Indicates whether the related node is located on the left side of the relationship - topN
- Type: SystemInt32
Limits the number of returned items. - columns
- Type: SystemString
Columns to be selected. Columns definition must contain mandatory columns (NodeID, NodeLinkedNodeID, DocumentCulture)
Return Value
Type:
TreeNodeDataSetSee Also