AFDataReference.GetAttributeTemplate Method
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Retrieve the attribute template for the specified name
relative to the attribute template in this Data Reference.
Namespace: OSIsoft.AF.Asset
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public AFAttributeTemplate GetAttributeTemplate( string name )
Public Function GetAttributeTemplate ( name As String ) As AFAttributeTemplate Dim instance As AFDataReference Dim name As String Dim returnValue As AFAttributeTemplate returnValue = instance.GetAttributeTemplate(name)
public: AFAttributeTemplate^ GetAttributeTemplate( String^ name )
member GetAttributeTemplate : name : string -> AFAttributeTemplate
Parameters
- name
- Type: SystemString
The name of that attribute template to retrieve from the target.
Return Value
Type: AFAttributeTemplateThe attribute template retrieved by applying the specified name to the target.