AFNotification.Contents Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
The collection of contents used when sending notifications.
Namespace: OSIsoft.AF.Notification
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public AFNotificationContents Contents { get; }
Public ReadOnly Property Contents As AFNotificationContents Get Dim instance As AFNotification Dim value As AFNotificationContents value = instance.Contents
public: property AFNotificationContents^ Contents { AFNotificationContents^ get (); }
member Contents : AFNotificationContents with get
Property Value
Type: AFNotificationContentsReturns the collection of contents used when sending notifications.
Remarks
When the notification is created from an AFNotificationTemplate, then this collection is initially created from the Contents collection of that notification template. Changes to the collection defined by the template (e.g. rename, add, remove) automatically cause similar changes to the AFNotificationContent objects in this collection.
Additional notification contents not defined by the template can be added to this collection.