SummaryLink.Group Property

Gets or sets the group to which this SummaryLink object belongs.

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

Syntax

'Declaration
Public Property Group As String
    Get
    Set
'Usage
Dim instance As SummaryLink
Dim value As String

value = instance.Group

instance.Group = value
public string Group { get; set; }

Property Value

Type: System.String
The name of the group to which this SummaryLink object belongs.

Exceptions

Exception Condition
ArgumentException

Invalid property value. The value cannot exceed 500 characters.

Remarks

A SummaryLink object belongs to a group if it appears after a Group Header link within the SummaryLinkCollection object. The group that the link belongs to is determined by its order in the SummaryLinkCollection, not by setting this property.

This property indicates the group to which the link belongs and is intended mainly for XSL rendering by way of the @Group parameter. The setter for this property is not intended for external use, and is used by internal serialization code that sets the value based on the nearest earlier group header link. If this value is set, it is recalculated when the SummaryLinkFieldValue is saved.

This value is available in the XSL rendering by way of the @Group parameter.

See Also

Reference

SummaryLink Class

SummaryLink Members

Microsoft.SharePoint.Publishing Namespace

SummaryLinkCollection

SummaryLinkFieldValue