Click or drag to resize
RelationshipInfoProviderApplyRelationshipOrderData Method
Apply relationship order data on multidocument query.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 12.0.0
Syntax
C#
public static MultiDocumentQuery ApplyRelationshipOrderData(
	MultiDocumentQuery query,
	int leftNodeId,
	int relationshipNameId
)

Parameters

query
Type: CMS.DocumentEngineMultiDocumentQuery
Multi document query where relationship order data will be added.
leftNodeId
Type: SystemInt32
ID of node which is on the left side of the relationship.
relationshipNameId
Type: SystemInt32
ID of ad-hoc relationship name. Only relationships from ad-hoc relationship name can be ordered.

Return Value

Type: MultiDocumentQuery
See Also