Click or drag to resize
ObjectRelationshipInfoProviderGetObjectRelationshipInfo Method
Returns the ObjectRelationshipInfo structure for the specified ObjectRelationship.

Namespace: CMS.Relationships
Assembly: CMS.Relationships (in CMS.Relationships.dll) Version: 9.0.0
Syntax
C#
public static ObjectRelationshipInfo GetObjectRelationshipInfo(
	int leftObjectId,
	string leftObjectType,
	int rightObjectId,
	string rightObjectType,
	int relationshipNameId
)

Parameters

leftObjectId
Type: SystemInt32
Relationship left object ID
leftObjectType
Type: SystemString
Relationship left object type
rightObjectId
Type: SystemInt32
Relationship right object ID
rightObjectType
Type: SystemString
Relationship right object type
relationshipNameId
Type: SystemInt32
Relationship name ID

Return Value

Type: ObjectRelationshipInfo
See Also