AFDatabase.Elements Property
- Last UpdatedJan 12, 2026
- 2 minute read
- PI System
- AF SDK 3.2.0
- Developer
Gets the collection of top-level elements maintained by the
AFDatabase.
Namespace: OSIsoft.AF
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.2.0.7
Syntax
public AFElements Elements { get; }
Public ReadOnly Property Elements As AFElements Get Dim instance As AFDatabase Dim value As AFElements value = instance.Elements
public: property AFElements^ Elements { AFElements^ get (); }
member Elements : AFElements with get
Property Value
Type: AFElementsThe collection of top-level elements maintained by the AFDatabase.
Remarks
This collection contains all the top-level elements that were constructed
in the AFDatabase. All elements in the database
are reachable via the hierarchy which originates in this collection. Create a new
element by calling one of the AFElementsAdd
methods.