IDocumentQueryTQuery, TObjectInRelationWith Method |
Ensures that only documents in relationship with a specified document are retrieved.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.2.23
Syntax TQuery InRelationWith(
Guid nodeGuid,
string relationshipName = null,
RelationshipSideEnum side = RelationshipSideEnum.Both
)
Parameters
- nodeGuid
- Type: SystemGuid
Node GUID of the related document - relationshipName (Optional)
- Type: SystemString
Name of the relationship. If not provided documents from all relationships will be retrieved. - side (Optional)
- Type: CMS.DocumentEngineRelationshipSideEnum
Side of the related document within the relation
Return Value
Type:
TQuerySee Also