AFCase.Elements Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Gets the collection of elements (including transfers)
that are active for this case.
Namespace: OSIsoft.AF.Analysis
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public AFBaseElements Elements { get; }
Public ReadOnly Property Elements As AFBaseElements Get Dim instance As AFCase Dim value As AFBaseElements value = instance.Elements
public: property AFBaseElements^ Elements { AFBaseElements^ get (); }
member Elements : AFBaseElements with get
Property Value
Type: AFBaseElementsReturns the collection of elements (including transfers) that are active for this case.
Remarks
The returned collection also includes the AFTransfer objects
that are active for this case. This collection of active elements is updated
by calling the CollectElements and CollectTransfers
methods. When the case is first created, the CollectElements is
automatically called to set the collection of active elements. The items can be
added and/or removed from this collection to provide finer control of the
elements which will be included in the model analysis.