AFElementTemplate.GetAllAnalysisTemplates Method
- Last UpdatedJan 12, 2026
- 2 minute read
- PI System
- AF SDK 3.2.0
- Developer
Gets the list of analysis templates for this template and all base templates.
Namespace: OSIsoft.AF.Asset
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.2.0.7
Syntax
public AFNamedCollectionList<AFAnalysisTemplate> GetAllAnalysisTemplates()
Public Function GetAllAnalysisTemplates As AFNamedCollectionList(Of AFAnalysisTemplate) Dim instance As AFElementTemplate Dim returnValue As AFNamedCollectionList(Of AFAnalysisTemplate) returnValue = instance.GetAllAnalysisTemplates()
public: AFNamedCollectionList<AFAnalysisTemplate^>^ GetAllAnalysisTemplates()
member GetAllAnalysisTemplates : unit -> AFNamedCollectionList<AFAnalysisTemplate>
Return Value
Type: AFNamedCollectionListAFAnalysisTemplateReturns the list of analysis templates for this template and all base templates.
Remarks
This is the list of analysis templates that would be defined for an AFBaseElement
created from the template.