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