다음을 통해 공유


SummaryLinkCollection Class

A collection of SummaryLink objects.

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 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.

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.

See Also

Reference

SummaryLinkCollection Members

Microsoft.SharePoint.Publishing Namespace