AFNotificationContent.DisplayName Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Gets or sets the user-friendly display name for the content.
Namespace: OSIsoft.AF.Notification
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public string DisplayName { get; set; }
Public Property DisplayName As String Get Set Dim instance As AFNotificationContent Dim value As String value = instance.DisplayName instance.DisplayName = value
public: property String^ DisplayName { String^ get (); void set (String^ value); }
member DisplayName : string with get, set
Property Value
Type: StringReturns the user-friendly display name for the content. The maximum length of this property is 1000 characters.
Remarks
If this notification content was created from an AFNotificationTemplate, then the value
of this property is defined by the template and cannot be changed. In this case when the value is
defined by a template, then changing the template's DisplayName property will also change the
value of this property. If the notification contact was NOT created from a template, then this
property can be modified.