AFNotificationContents.Add Method (AFAttribute)
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Namespace: OSIsoft.AF.Notification
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
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.