AFElementTemplate.LoadElementTemplates Method (IList(AFElementTemplate))
- Last UpdatedJan 12, 2026
- 2 minute read
- PI System
- AF SDK 3.2.0
- Developer
Loads the specified list AFElementTemplate objects.
Namespace: OSIsoft.AF.Asset
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.2.0.7
Syntax
public static void LoadElementTemplates( IList<AFElementTemplate> elementTemplates )
Public Shared Sub LoadElementTemplates ( elementTemplates As IList(Of AFElementTemplate) ) Dim elementTemplates As IList(Of AFElementTemplate) AFElementTemplate.LoadElementTemplates(elementTemplates)
public: static void LoadElementTemplates( IList<AFElementTemplate^>^ elementTemplates )
static member LoadElementTemplates : elementTemplates : IList<AFElementTemplate> -> unit
Parameters
- elementTemplates
- Type: System.Collections.GenericIListAFElementTemplate
The list of element templates to be fully loaded. If , then this method does nothing. All element templates in the list must be from the same PISystem.
Remarks
Fully loads the specified list AFElementTemplate objects from the server into
the client. This will ensure that the element templates in the list are fully loaded to avoid
a call to the server to load each of the element templates individually.