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

AF SDK Reference

IAFAttribute.ID Property

  • Last UpdatedNov 18, 2025
  • 2 minute read
IAFAttribute.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.Asset
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182

Syntax

Guid ID { get; }
ReadOnly Property ID As Guid
	Get

Dim instance As IAFAttribute
Dim value As Guid

value = instance.ID
property Guid ID {
	Guid get ();
}
abstract 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
TitleResults for “How to create a CRG?”Also Available in