Click or drag to resize

PFRelation_ItemRelationGetRelated Method (PFItem, PFItem, String, Guid, PFQuery, PFItemRelationDirection)

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> GetRelated(
	PFItem sourceItem = null,
	PFItem targetItem = null,
	string relationName = null,
	Guid relationModelGuid = null,
	PFQuery query = null,
	PFItemRelationDirection direction = PFItemRelationDirection.Both
)

Parameters

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

Return Value

Type: ListPFItemRelation
See Also