Compartilhar 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