AFNotificationContents.Add Method (AFAttribute)
- Last UpdatedJan 12, 2026
- 2 minute read
- PI System
- AF SDK 3.2.0
- Developer
Namespace: OSIsoft.AF.Notification
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.2.0.7
Syntax
public AFNotificationContent Add( AFAttribute attribute )
Public Function Add ( attribute As AFAttribute ) As AFNotificationContent Dim instance As AFNotificationContents Dim attribute As AFAttribute Dim returnValue As AFNotificationContent returnValue = instance.Add(attribute)
public: AFNotificationContent^ Add( AFAttribute^ attribute )
member Add : attribute : AFAttribute -> AFNotificationContent
Parameters
- attribute
- Type: OSIsoft.AF.AssetAFAttribute
The notification attribute to be associated with the new notification content.
Return Value
Type: AFNotificationContentReturns the newly created AFNotificationContent object.