Click or drag to resize

PFItemGetRelatedItems Method (String, Guid, PFQuery, PFItemRelationDirection, Boolean)

Gets items linked inside a relation.

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<PFItem> GetRelatedItems(
	string relationApplicationName,
	Guid modelRelationGuid,
	PFQuery query = null,
	PFItemRelationDirection direction = PFItemRelationDirection.Both,
	bool maximumOne = false
)

Parameters

relationApplicationName
Type: SystemString
Name of the application hosting the relation.
modelRelationGuid
Type: SystemGuid
Guid of the relation in the model.
query (Optional)
Type: Packflow.CorePFQuery
Query to filter, order or select columns of the results.
direction (Optional)
Type: Packflow.CorePFItemRelationDirection
Get items linked from this item, to this item, or both.
maximumOne (Optional)
Type: SystemBoolean
Return only first result.

Return Value

Type: ListPFItem
Related items (according to parameters).
See Also