Share via


SummaryLinkCollection.Add method (String)

Adds a new SummaryLink object to the SummaryLinkCollection.

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

Syntax

'Declaration
Public Function Add ( _
    title As String _
) As SummaryLink
'Usage
Dim instance As SummaryLinkCollection
Dim title As String
Dim returnValue As SummaryLink

returnValue = instance.Add(title)
public SummaryLink Add(
    string title
)

Parameters

Return value

Type: Microsoft.SharePoint.Publishing.SummaryLink
The newly created SummaryLink.

Remarks

The new SummaryLink is added to the collection, but it will not persist until the containing SummaryLinkFieldValue is saved.

See also

Reference

SummaryLinkCollection class

SummaryLinkCollection members

Add overload

Microsoft.SharePoint.Publishing namespace