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

AF SDK Reference

AFElementTemplate.FindElementTemplate Method (PISystem, Guid)

AFElementTemplate.FindElementTemplate Method (PISystem, Guid)

  • Last UpdatedJan 12, 2026
  • 2 minute read
AFElementTemplate.FindElementTemplate Method (PISystem, Guid)
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.2.0.7

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: AFElementTemplate
The AFElementTemplate in the PISystem which matches the unique identifier.

Remarks

The AFElementTemplate object with the specified id is returned.

Version Information

AFSDK


See Also

In This Topic