Click or drag to resize
ContentTransformationFunctionsIsInRelationship Method
Returns true if document is in specified relationship with with selected document.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.2.23
Syntax
C#
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: Boolean
See Also