AFObject.ID Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Read-only property that provides a unique identifier for the object to be used for
quick access that is not dependent upon the index.
Namespace: OSIsoft.AF
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public Guid ID { get; }
Public ReadOnly Property ID As Guid Get Dim instance As AFObject Dim value As Guid value = instance.ID
public: virtual property Guid ID { Guid get () sealed; }
abstract ID : Guid with get override ID : Guid with get
Property Value
Type: GuidUnique identifier for the object to be used for quick access that is not dependent upon the index.
Remarks
The ID property uniquely identifies an object across all databases. The
ID is assigned when the object is created.
This property can be used as the key when referencing the object in a collection using
the Item property with a Guid parameter value.