Click or drag to resize

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

Note: This API is now obsolete.

Gets relations. Old Method. Use GetRelatedByReference instead.

Namespace:  Packflow.Core
Assembly:  MicaSystems.Packflow.Core (in MicaSystems.Packflow.Core.dll) Version: 1.0.0.0 (3.2.0.306)
Syntax
C#
[ObsoleteAttribute("Use GetRelatedByReference instead.")]
public List<PFItemRelation> GetRelated(
	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