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

AF SDK Reference

AFNotificationContacts.Add Method (AFNotificationContactTemplate)

AFNotificationContacts.Add Method (AFNotificationContactTemplate)

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFNotificationContacts.Add Method (AFNotificationContactTemplate)
The Add method creates a new AFNotificationContact from an AFNotificationContactTemplate and adds it to the collection.

Namespace:  OSIsoft.AF.Notification
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182

Syntax

public AFNotificationContact Add(
	AFNotificationContactTemplate template
)
Public Function Add ( 
	template As AFNotificationContactTemplate
) As AFNotificationContact

Dim instance As AFNotificationContacts
Dim template As AFNotificationContactTemplate
Dim returnValue As AFNotificationContact

returnValue = instance.Add(template)
public:
AFNotificationContact^ Add(
	AFNotificationContactTemplate^ template
)
member Add : 
        template : AFNotificationContactTemplate -> AFNotificationContact 

Parameters

template
Type: OSIsoft.AF.NotificationAFNotificationContactTemplate
The AFNotificationContactTemplate that is used to create this new notification contact.

Return Value

Type: AFNotificationContact
Returns the newly created object that was added to the collection.

Remarks

The new AFNotificationContact is created from an AFNotificationContactTemplate and adds it to the collection.

Version Information

AFSDK


See Also

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