SummaryLinkCollection class

A collection of SummaryLink objects.


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

[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class SummaryLinkCollection : List<SummaryLink>

The SummaryLinkCollection is a list of SummaryLink objects. The links can be People links, Web address links, or Group Header links. SummaryLink objects in the collection belong to a Group if they appear after a Group Header link, and the Group they belong to is the nearest previous Group Header. For SummaryLink objects to persist, they must belong to a SummaryLinkFieldControl or SummaryLinkWebPart and be contained by a SummaryLinkFieldValue object. A SummaryLinkFieldValue object will contain a SummaryLinkCollection if the collection is initially retrieved from the SummaryLinks property.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.