AFElementTemplate.FindElementTemplate Method (PISystem, Guid)
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Retrieves the AFElementTemplate object with the specified unique identifier
at the AFTime.MaxValue query date.
Namespace: OSIsoft.AF.Asset
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public static AFElementTemplate FindElementTemplate( PISystem system, Guid id )
Public Shared Function FindElementTemplate ( system As PISystem, id As Guid ) As AFElementTemplate Dim system As PISystem Dim id As Guid Dim returnValue As AFElementTemplate returnValue = AFElementTemplate.FindElementTemplate(system, id)
public: static AFElementTemplate^ FindElementTemplate( PISystem^ system, Guid id )
static member FindElementTemplate : system : PISystem * id : Guid -> AFElementTemplate
Parameters
- system
- Type: OSIsoft.AFPISystem
The PISystem to search for the desired object. - id
- Type: SystemGuid
The unique identifier of the object to find.
Return Value
Type: AFElementTemplateThe AFElementTemplate in the PISystem which matches the unique identifier.
Remarks
The AFElementTemplate object with the specified id
is returned.