AFDatabase.ElementTemplates Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Gets the collection of element templates maintained by the
AFDatabase.
Namespace: OSIsoft.AF
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public AFElementTemplates ElementTemplates { get; }
Public ReadOnly Property ElementTemplates As AFElementTemplates Get Dim instance As AFDatabase Dim value As AFElementTemplates value = instance.ElementTemplates
public: property AFElementTemplates^ ElementTemplates { AFElementTemplates^ get (); }
member ElementTemplates : AFElementTemplates with get
Property Value
Type: AFElementTemplatesThe collection of element templates maintained by the AFDatabase.
Remarks
This collection contains all the available templates on the AFDatabase for
constructing elements. Create a new template by calling the
AFElementTemplates.Add method.