共用方式為


SPListTemplate.QuickLaunchOptions Enumeration

Specifies whether to display Quick Launch links to lists created through the list template.

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

Syntax

'Declaration
<ClientCallableTypeAttribute(ServerTypeId := "{a5cbd08d-0816-4c32-86f5-0b2bf81286bb}")> _
Public Enumeration QuickLaunchOptions
'Usage
Dim instance As SPListTemplate.QuickLaunchOptions
[ClientCallableTypeAttribute(ServerTypeId = "{a5cbd08d-0816-4c32-86f5-0b2bf81286bb}")]
public enum QuickLaunchOptions

Members

Member name Description
Off Do not display a link to the list in the Quick Launch. Value = 0.
On Display a link to the list in the Quick Launch. Value = 1.
Default Display a link to the list in the Quick Launch if the OnQuickLaunch attibute of the ListTemplate element in the Feature's element XML file equals TRUE. Value = 2.

See Also

Reference

Microsoft.SharePoint Namespace