AFCollection Class
- Last UpdatedNov 18, 2025
- 3 minute read
- PI System
- AF SDK 2024 R2
- Developer
Base class used for all collections in the AF SDK.

Inheritance Hierarchy
Namespace: OSIsoft.AF
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
[SerializableAttribute] public abstract class AFCollection
<SerializableAttribute> Public MustInherit Class AFCollection Dim instance As AFCollection
[SerializableAttribute] public ref class AFCollection abstract
[<AbstractClassAttribute>] [<SerializableAttribute>] type AFCollection = class end
The AFCollection type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| Identity |
This read-only property contains identity of the object.
| |
| IsDeleted |
This read-only property indicates whether the owner of the collection has been deleted.
| |
| ItemIdentity |
This read-only property specifies the identity of the objects within the collection.
| |
| PISystem |
This read-only property allows access to the PISystem
associated with this collection.
|
Methods
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| 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.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| ToString |
Returns a String that represents the current object.
(Overrides ObjectToString.) |
Remarks
This base class provides common functionality and implementation for all
AF SDK collections (not objects) in the SDK.