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

AF SDK Reference

AFDataReference.Template Property

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFDataReference.Template Property
This property returns the attribute template that owns this object.

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

Syntax

public virtual AFAttributeTemplate Template { get; set; }
Public Overridable Property Template As AFAttributeTemplate
	Get
	Set

Dim instance As AFDataReference
Dim value As AFAttributeTemplate

value = instance.Template

instance.Template = value
public:
virtual property AFAttributeTemplate^ Template {
	AFAttributeTemplate^ get ();
	void set (AFAttributeTemplate^ value);
}
abstract Template : AFAttributeTemplate with get, set
override Template : AFAttributeTemplate with get, set

Property Value

Type: AFAttributeTemplate
Returns the attribute template that owns this object.

Remarks

If this object is owned by an AFAttributeTemplate, then this property will be defined and the Attribute property will be . If this object is owned by an AFAttribute, then this property will be and the Attribute property will be defined.

This property is set by the AF SDK after the instance has been created. An implementation of a plugin can override the set method to perform any initialization that is necessary.

Version Information

AFSDK


See Also

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