AFNotificationContents.Add Method (AFAttributeTemplate)
- 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( 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: AFNotificationContentReturns the newly created AFNotificationContent object.