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

AF SDK Reference

AFDataReference.GetAttributeTemplate Method

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFDataReference.GetAttributeTemplate Method
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: AFAttributeTemplate
The attribute template retrieved by applying the specified name to the target.

Version Information

AFSDK


See Also

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