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

AF SDK Reference

AFElementTemplate.LoadElementTemplates Method (IList(AFElementTemplate))

AFElementTemplate.LoadElementTemplates Method (IList(AFElementTemplate))

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFElementTemplate.LoadElementTemplates Method (IList(AFElementTemplate))
Loads the specified list AFElementTemplate objects.

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

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.

Version Information

AFSDK


See Also

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