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

AF SDK Reference

AFElementTemplate.GetAllAttributeTemplates Method

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFElementTemplate.GetAllAttributeTemplates Method
Gets the list of top-level attribute templates for this template and all base templates.

Namespace:  OSIsoft.AF.Asset
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182

Syntax

public AFNamedCollectionList<AFAttributeTemplate> GetAllAttributeTemplates()
Public Function GetAllAttributeTemplates As AFNamedCollectionList(Of AFAttributeTemplate)

Dim instance As AFElementTemplate
Dim returnValue As AFNamedCollectionList(Of AFAttributeTemplate)

returnValue = instance.GetAllAttributeTemplates()
public:
AFNamedCollectionList<AFAttributeTemplate^>^ GetAllAttributeTemplates()
member GetAllAttributeTemplates : unit -> AFNamedCollectionList<AFAttributeTemplate> 

Return Value

Type: AFNamedCollectionListAFAttributeTemplate
Returns the list of top-level attribute templates for this template and all base templates.

Remarks

This is the list of top-level attribute templates that would be defined for an AFBaseElement created from the template.

Version Information

AFSDK


See Also

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