AFObject Methods
- Last UpdatedNov 18, 2025
- 4 minute read
- PI System
- AF SDK 2024 R2
- Developer
The AFObject type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| CompareTo(Object) |
Compares this instance with a specified Object.
| |
| CompareTo(AFObject) |
Compares this instance with a specified AFObject.
| |
| Equals(Object) |
Determines whether the specified Object is equal to the current object.
(Overrides ObjectEquals(Object).) | |
| Equals(AFObject) |
Indicates whether the current object is equal to another object of the same type.
| |
| FindObject(String) |
Finds the object identified by the full path.
| |
| FindObject(String, AFObject) |
Finds the object identified by the path, relative from the specified object.
| |
| FindObject(IListAFPathToken, AFObject) |
Finds the object identified by the list of parsed path tokens relative from an optional object.
| |
| FindObjects(String) |
Finds a list of objects identified by the full path.
| |
| FindObjects(String, AFObject) |
Finds a list of objects identified by the path, relative from the specified object.
| |
| FindObjects(IListAFPathToken, AFObject) |
Finds a list of objects identified by the list of parsed path tokens relative from an optional object.
| |
| GenerateUniqueName |
Generate a unique name for the items in the specified list.
| |
| 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.
(Overrides ObjectGetHashCode.) | |
| GetPath |
Returns the full path to the object, using just the names.
| |
| GetPath(AFObject) |
Returns the path to the object relative from another object.
| |
| GetPath(AFEncodeType, AFObject) |
Returns the path to the object relative from another object,
using the name and/or id as specified
by encodeType.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Persist |
This method returns the persistence string for the object.
| |
| ToString |
Returns a String that represents the current object.
(Overrides ObjectToString.) | |
| ValidateName(String, String) |
Helper function to validate the name according to the
default rules for valid names in the AF SDK.
| |
| ValidateName(AFIdentity, String, String) |
Helper function to validate the name according to the
rules for valid names of the specified object type in the AF SDK.
|