SPAlertTemplateCollection.Add method

Adds an alert template to the SPAlertTemplateCollection object.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Function Add As SPAlertTemplate
'Usage
Dim instance As SPAlertTemplateCollection
Dim returnValue As SPAlertTemplate

returnValue = instance.Add()
public SPAlertTemplate Add()

Return value

Type: Microsoft.SharePoint.SPAlertTemplate
The alert template that is added.

See also

Reference

SPAlertTemplateCollection class

SPAlertTemplateCollection members

Microsoft.SharePoint namespace