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

AF SDK Reference

AFAttribute.Name Property

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFAttribute.Name Property
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: String
Defines 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.

Version Information

AFSDK


See Also

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