Partilhar via


SPListTemplate.OnQuickLaunch Property

Gets a Boolean value that specifies whether any list created with the list definition or list template is displayed on the Quick Launch bar.

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

Syntax

'Declaration
<ClientCallableAttribute> _
Public ReadOnly Property OnQuickLaunch As Boolean
    Get
'Usage
Dim instance As SPListTemplate
Dim value As Boolean

value = instance.OnQuickLaunch
[ClientCallableAttribute]
public bool OnQuickLaunch { get; }

Property Value

Type: System.Boolean
true if the list is displayed on the Quick Launch bar; otherwise, false

Remarks

The OnQuickLaunch property represents the property as declared in the ListTemplate element of the site definition, and not the actual state of this property as persisted in the .stp file of a site saved as a custom template.

See Also

Reference

SPListTemplate Class

SPListTemplate Members

Microsoft.SharePoint Namespace