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

AF SDK Reference

AFNotificationContents.Add Method (AFAttribute)

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFNotificationContents.Add Method (AFAttribute)
Creates a new AFNotificationContent using an AFAttribute from the AFNotification.

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: AFNotificationContent
Returns the newly created AFNotificationContent object.

Version Information

AFSDK


See Also

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