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

AF SDK Reference

AFDatabase.ElementTemplates Property

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFDatabase.ElementTemplates Property
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: AFElementTemplates
The 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.

Version Information

AFSDK


See Also

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