AFElementTemplate.GetAllAttributeTemplates Method
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
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: AFNamedCollectionListAFAttributeTemplateReturns 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.