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

AF SDK Reference

AFBaseElement.Template Property

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFBaseElement.Template Property
The AFElementTemplate that was used to define this object.

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

Syntax

public AFElementTemplate Template { get; set; }
Public Property Template As AFElementTemplate
	Get
	Set

Dim instance As AFBaseElement
Dim value As AFElementTemplate

value = instance.Template

instance.Template = value
public:
property AFElementTemplate^ Template {
	AFElementTemplate^ get ();
	void set (AFElementTemplate^ value);
}
member Template : AFElementTemplate with get, set

Property Value

Type: AFElementTemplate
Returns the AFElementTemplate that was used to define this object.

Remarks

The element template is used to define the AFAttribute, AFCategory and AFPort objects associated with the instance of the element. It is also used to define the DefaultAttribute, DefaultInputPort, DefaultOutputPort, and DefaultUndirectedPort properties.

Version Information

AFSDK


See Also

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