ContentTransformationFunctionsIsInRelationship Method |
Returns true if document is in specified relationship with with selected document.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 13.0.131
Syntax public static bool IsInRelationship(
Object document,
string side,
string relationship,
string relatedDocumentPath,
string relatedDocumentSite
)
Parameters
- document
- Type: SystemObject
Document to be checked - side
- Type: SystemString
Relationship side - relationship
- Type: SystemString
Relationship name - relatedDocumentPath
- Type: SystemString
Alias path to selected document - relatedDocumentSite
- Type: SystemString
Selected document site name
Return Value
Type:
BooleanSee Also