AFAttributeTemplate Methods
- Last UpdatedNov 18, 2025
- 4 minute read
- PI System
- AF SDK 2024 R2
- Developer
The AFAttributeTemplate type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| CompareTo(Object) |
Compares this instance with a specified Object.
(Inherited from AFObject.) | |
| CompareTo(AFObject) |
Compares this instance with a specified AFObject.
(Inherited from AFObject.) | |
| Equals(Object) |
Determines whether the specified Object is equal to the current object.
(Inherited from AFObject.) | |
| Equals(AFObject) |
Indicates whether the current object is equal to another object of the same type.
(Inherited from AFObject.) | |
| FindAttributeTemplate(String, AFObject) |
Retrieves the AFAttributeTemplate object identified by the path string relative to
the specified object.
| |
| FindAttributeTemplate(AFElementTemplate, Guid) |
Retrieves the AFAttributeTemplate object with the specified unique identifier.
| |
| FindAttributeTemplates |
Finds a list of AFAttributeTemplate objects identified by the path, relative from the specified object.
| |
| GetAttributeTemplateByTrait |
Retrieves the child AFAttributeTemplate with the specified AFAttributeTrait.
| |
| GetAttributeTemplatesByTrait |
Retrieves a list of child AFAttributeTemplate objects identified by the specified list of attribute traits.
| |
| GetHashCode |
Gets the hash code for this instance of the object which is suitable for use in hashing
algorithms and data structures like a hash table.
(Inherited from AFObject.) | |
| GetPath |
Returns the full path to the object, using just the names.
(Inherited from AFObject.) | |
| GetPath(AFObject) |
Returns the path to the object relative from another object.
(Inherited from AFObject.) | |
| GetPath(AFEncodeType, AFObject) |
Returns the path to the object relative from another object,
using the name and/or id as specified
by encodeType.
(Inherited from AFObject.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| GetValue |
Gets the default value for an attribute template in the specified unit of measure.
This value will be used as the default value for the attributes created from this
template.
| |
| Persist |
This method returns the persistence string for the object.
(Inherited from AFObject.) | |
| SetValue |
Sets the default value for an attribute template in the specified unit of measure.
This value will be used as the
default value for the attributes created from this template.
| |
| ToString |
Returns a String that represents the current object.
(Inherited from AFObject.) |