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 (AFAttributeTemplate)

AFNotificationContents.Add Method (AFAttributeTemplate)

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFNotificationContents.Add Method (AFAttributeTemplate)
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(
	AFAttributeTemplate attributeTemplate
)
Public Function Add ( 
	attributeTemplate As AFAttributeTemplate
) As AFNotificationContent

Dim instance As AFNotificationContents
Dim attributeTemplate As AFAttributeTemplate
Dim returnValue As AFNotificationContent

returnValue = instance.Add(attributeTemplate)
public:
AFNotificationContent^ Add(
	AFAttributeTemplate^ attributeTemplate
)
member Add : 
        attributeTemplate : AFAttributeTemplate -> AFNotificationContent 

Parameters

attributeTemplate
Type: OSIsoft.AF.AssetAFAttributeTemplate
The AFNotificationTemplateAFAttributeTemplateto 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