ContentTransformationFunctionsIsInRelationship Method |
Returns true if document is in specified relationship with with selected document.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 9.0.0
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