다음을 통해 공유


SPQuickLaunchHeading Enumeration

Enumeration values that specify the standard headings on the Quick Launch menu on content pages in a Microsoft SharePoint Foundation website.

Namespace:  Microsoft.SharePoint.Navigation
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<SubsetCallableTypeAttribute> _
Public Enumeration SPQuickLaunchHeading
'Usage
Dim instance As SPQuickLaunchHeading
[SubsetCallableTypeAttribute]
public enum SPQuickLaunchHeading

Members

Member name Description
Lists Lists heading (ID=1003). All lists other than document libraries, picture libraries, surveys, and discussion boards are added under this heading by default.
Documents Documents heading (ID=1004). All document libraries are added under this heading by default.
Pictures Pictures heading (ID=1005). All picture libraries are added under this heading by default.
Discussions Discussions heading (ID=1006). All discussion boards are added under this heading by default.
Survey Survey heading (ID=1007). All surveys are added under this heading by default.
Sites Sites heading (ID=1026). All subsites are added under this heading by default.
PeopleAndGroups People and Groups heading (ID=1027). This heading represents a link to the site members' page.

Remarks

A value in this enumeration is passed to the SPNavigation.AddToQuickLaunch method.

When you set the OnQuickLaunch property of an SPList object to true, the list or document library is automatically added to the Quick Launch menu under the appropriate heading. If the heading does not already appear on the Quick Launch menu, it is added.

See Also

Reference

Microsoft.SharePoint.Navigation Namespace

AddToQuickLaunch