Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AF SDK Reference

AFCase.Elements Property

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFCase.Elements Property
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: AFBaseElements
Returns 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.

Version Information

AFSDK


See Also

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in