SPUserCustomActionCollection.Add method
Adds a new user custom action object to the collection.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Function Add As SPUserCustomAction
'Usage
Dim instance As SPUserCustomActionCollection
Dim returnValue As SPUserCustomAction
returnValue = instance.Add()
public SPUserCustomAction Add()
Return value
Type: Microsoft.SharePoint.SPUserCustomAction
SPUserCustomAction
The new custom action object.
Remarks
You must call Update() to save the new object.
See also
Reference
SPUserCustomActionCollection class