Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AF SDK Reference

AFObject.ID Property

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFObject.ID Property
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: Guid
Unique 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.

Version Information

AFSDK


See Also

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in