Click or drag to resize

PFRelation_ItemRelationGetRelatedByReference Method

Gets the relations with multiple (optional) properties:

-targeting one or two items,

-with a specific name,

-with a specific modeling GUID,

-following a query,

-following the specified direction(s).

Namespace:  Packflow.Core
Assembly:  MicaSystems.Packflow.Core (in MicaSystems.Packflow.Core.dll) Version: 1.0.0.0 (3.2.0.306)
Syntax
C#
public List<PFItemRelation> GetRelatedByReference(
	PFItemReference sourceItem = null,
	PFItemReference targetItem = null,
	string relationName = null,
	Guid relationModelGuid = null,
	PFQuery query = null,
	PFItemRelationDirection direction = PFItemRelationDirection.Both
)

Parameters

sourceItem (Optional)
Type: Packflow.CorePFItemReference
targetItem (Optional)
Type: Packflow.CorePFItemReference
relationName (Optional)
Type: SystemString
relationModelGuid (Optional)
Type: SystemGuid
query (Optional)
Type: Packflow.CorePFQuery
direction (Optional)
Type: Packflow.CorePFItemRelationDirection

Return Value

Type: ListPFItemRelation
See Also