AFBaseElement.Template Property
- Last UpdatedJan 12, 2026
- 2 minute read
- PI System
- AF SDK 3.2.0
- Developer
The AFElementTemplate that was used to define this object.
Namespace: OSIsoft.AF.Asset
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.2.0.7
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: AFElementTemplateReturns 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.