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

AF SDK Reference

AFAttributeTemplate.FindAttributeTemplate Method (AFElementTemplate, Guid)

AFAttributeTemplate.FindAttributeTemplate Method (AFElementTemplate, Guid)

  • Last UpdatedJan 12, 2026
  • 2 minute read
AFAttributeTemplate.FindAttributeTemplate Method (AFElementTemplate, Guid)
Retrieves the AFAttributeTemplate object with the specified unique identifier.

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

Syntax

public static AFAttributeTemplate FindAttributeTemplate(
	AFElementTemplate template,
	Guid id
)
Public Shared Function FindAttributeTemplate ( 
	template As AFElementTemplate,
	id As Guid
) As AFAttributeTemplate

Dim template As AFElementTemplate
Dim id As Guid
Dim returnValue As AFAttributeTemplate

returnValue = AFAttributeTemplate.FindAttributeTemplate(template, 
	id)
public:
static AFAttributeTemplate^ FindAttributeTemplate(
	AFElementTemplate^ template, 
	Guid id
)
static member FindAttributeTemplate : 
        template : AFElementTemplate * 
        id : Guid -> AFAttributeTemplate 

Parameters

template
Type: OSIsoft.AF.AssetAFElementTemplate
The AFElementTemplate to search for the AFAttributeTemplate identified by the specified id parameter.
id
Type: SystemGuid
The unique identifier of the AFAttributeTemplate to search for in the specified template.

Return Value

Type: AFAttributeTemplate
Returns the AFAttributeTemplate identified by the id in the specified template.

Remarks

The AFAttributeTemplate of the specified template is returned.

Version Information

AFSDK


See Also

In This Topic