AFAttribute.Name Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
This property defines the name that identifies the object.
Namespace: OSIsoft.AF.Asset
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public string Name { get; set; }
Public Property Name As String Get Set Dim instance As AFAttribute Dim value As String value = instance.Name instance.Name = value
public: virtual property String^ Name { String^ get () sealed; void set (String^ value) sealed; }
abstract Name : string with get, set override Name : string with get, set
Property Value
Type: StringDefines the name that identifies the object.
Implements
IAFTimeSourceName
Remarks
This property is used as the key when referencing the object in a collection using the Item property with a string value.
If this attribute was created from an AFAttributeTemplate, then the value of this property is defined by the template and cannot be changed. In this case, changing the AFAttributeTemplate.Name property also changes the value of this property. If the attribute was NOT created from a template, then this property can be modified.