Share via


SummaryLinkCollection.GroupCount property

Gets the number of groups that are currently in use by the SummaryLink objects in the collection.

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

Syntax

'Declaration
Public ReadOnly Property GroupCount As Integer
    Get
'Usage
Dim instance As SummaryLinkCollection
Dim value As Integer

value = instance.GroupCount
public int GroupCount { get; }

Property value

Type: System.Int32

Remarks

A group is indicated in a SummaryLinkCollection by the presence of a SummaryLink with IsGroupHeader set to true. This property gets the number of SummaryLink items with IsGroupHeader set to true.

See also

Reference

SummaryLinkCollection class

SummaryLinkCollection members

Microsoft.SharePoint.Publishing namespace