SummaryLinkCollection Class
A collection of SummaryLink items.
Inheritance Hierarchy
System.Object
System.Collections.Generic.List<SummaryLink>
Microsoft.SharePoint.Publishing.SummaryLinkCollection
Namespace: Microsoft.SharePoint.Publishing
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class SummaryLinkCollection _
Inherits List(Of SummaryLink)
'Usage
Dim instance As SummaryLinkCollection
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class SummaryLinkCollection : List<SummaryLink>
Remarks
The SummaryLinkCollection is a list of SummaryLinks. The links can be People Links, Web address links, or Group Header links. SummaryLinks 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. In order for SummaryLinks 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 SummaryLinkFieldValue.SummaryLinks property.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.