Share 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)

Syntax

'Declaration
Public ReadOnly Property OnQuickLaunch As Boolean
    Get
'Usage
Dim instance As SPListTemplate
Dim value As Boolean

value = instance.OnQuickLaunch
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