Click or drag to resize

PFItemGetRelatedItemsByGroup Method (ContentRelation, PFQuery, PFContentType, PFItemRelationDirection)

Gets aggregated 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<PFGroupedObjects> GetRelatedItemsByGroup(
	ContentRelation relation,
	PFQuery query = null,
	PFContentType targetContentType = null,
	PFItemRelationDirection direction = PFItemRelationDirection.Both
)

Parameters

relation
Type: Packflow.ModelingContentRelation
Relation in the model.
query (Optional)
Type: Packflow.CorePFQuery
Query to filter, order or select columns of the results.
targetContentType (Optional)
Type: Packflow.CorePFContentType
If the target content-type has already been loaded, avoid a second load with this parameter.
direction (Optional)
Type: Packflow.CorePFItemRelationDirection
Get items linked from this item, to this item, or both.

Return Value

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