AFElementTemplate Properties
- Last UpdatedNov 18, 2025
- 5 minute read
- PI System
- AF SDK 2024 R2
- Developer
The AFElementTemplate type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| AllowElementToExtend |
This read/write property determines if additional attributes or ports can be added to
instances of AFBaseElement objects.
| |
| AnalysisTemplates |
This is a collection of analysis templates that target this element template.
| |
| AttributeTemplates |
Gets the collection of AFAttributeTemplate objects
that are owned by this template.
| |
| BaseTemplate |
This property returns the AFElementTemplate which this template inherits from.
| |
| BaseTemplateOnly |
This read/write property determines if instances of this AFBaseElement object
are allowed to be created. This is typically a BaseTemplate that contains some core
functionality for other derived templates.
| |
| CanBeAcknowledged |
This property is the default value for the CanBeAcknowledged
property of any new AFEventFrame created from this template.
| |
| Categories |
This is a user-defined collection of categories for the object that can be used for
querying and/or reporting purposes.
| |
| CategoriesString |
This read-only property returns the list of categories in a string separated by semicolons.
| |
| CheckOutInfo |
This read-only property returns the checked out status information for the object.
| |
| ChildReferenceTypes |
This is a read-only collection of all AFReferenceType objects that can be used to create
a child reference to an AFElement created from this template.
| |
| Database |
This read-only property returns the AFDatabase where this object is defined.
| |
| DefaultAttribute |
The AFAttributeTemplate associated with the default
AFAttribute for the AFBaseElement created from
this template.
| |
| DefaultInputPort |
The default input AFPort for the AFBaseElement
created from this template.
| |
| DefaultOutputPort |
The default output AFPort for the AFBaseElement
created from this template.
| |
| DefaultUndirectedPort |
The default undirected AFPort for the AFBaseElement
created from this template.
| |
| Description |
Read/write property that provides a more detailed description of the object.
| |
| ExtendedProperties |
A dictionary of extended properties that can be used to store application specific information.
| |
| HasAnalyses |
This read-only property returns if there are any
AFAnalysisTemplate objects that target this element template.
| |
| HasNotifications |
This read-only property returns if there are any
AFNotificationTemplate objects that target this element template.
| |
| ID |
Read-only property that provides a unique identifier for the object to be used for
quick access that is not dependent upon the index.
(Inherited from AFObject.) | |
| Identity |
This read-only property contains identity of the object.
(Inherited from AFObject.) | |
| InstanceType |
Specifies the System.Type used when creating
AFBaseElement objects from this template.
| |
| IsDeleted |
This read-only property indicates whether the object has been deleted.
(Inherited from AFObject.) | |
| IsDirty |
This read-only property indicates whether the object has been modified since the
last save to the PI AF Server.
| |
| IsNew |
This read-only property indicates whether the object is new and has never been saved
to the PI AF Server.
| |
| Name |
Read/write property that identifies the name of the object.
| |
| NamingPattern |
The naming pattern used when creating elements from this template.
| |
| None |
An AFElementTemplate that represents no element template.
| |
| NotificationRuleTemplates |
This is a collection of AFNotificationRuleTemplate objects that target this element template.
| |
| ParentReferenceTypes |
This is a read-only collection of all AFReferenceType objects that can be used to create
a parent reference to an AFElement created from this template.
| |
| PISystem |
This read-only property allows access to the PISystem associated with this
object.
(Inherited from AFObject.) | |
| Ports |
This is a collection of AFPort objects representing the possible connection ports
for elements created from this template.
Ports are used in a AFModel to define an AFConnection
between AFBaseElement object.
| |
| Security |
This read-only property returns the AFSecurity information for the object.
| |
| Severity |
This property is the default value for the Severity
property of any new AFEventFrame created from this template.
| |
| Type |
This property specifies the base type of the element created from this template.
| |
| UniqueID |
Read-only property that provides the object's ID as a String.
(Inherited from AFObject.) |
See Also
In This Topic
Related Links
- AllowElementToExtend Property
- AnalysisTemplates Property
- AttributeTemplates Property
- BaseTemplate Property
- BaseTemplateOnly Property
- CanBeAcknowledged Property
- Categories Property
- CategoriesString Property
- CheckOutInfo Property
- ChildReferenceTypes Property
- Database Property
- DefaultAttribute Property
- DefaultInputPort Property
- DefaultOutputPort Property
- DefaultUndirectedPort Property
- Description Property
- ExtendedProperties Property
- HasAnalyses Property
- HasNotifications Property
- InstanceType Property
- IsDirty Property
- IsNew Property
- Name Property
- NamingPattern Property
- None Property
- NotificationRuleTemplates Property
- ParentReferenceTypes Property
- Ports Property
- Security Property
- Severity Property
- Type Property