共用方式為


AspMenu.SelectStaticItemsOnly Property

Gets or sets a value that indicates whether to select only static items for the control.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Property SelectStaticItemsOnly As Boolean
    Get
    Set
'Usage
Dim instance As AspMenu
Dim value As Boolean

value = instance.SelectStaticItemsOnly

instance.SelectStaticItemsOnly = value
public bool SelectStaticItemsOnly { get; set; }

Property Value

Type: System.Boolean
true if to select only static items; otherwise, false. The default is true.

See Also

Reference

AspMenu Class

AspMenu Members

Microsoft.SharePoint.WebControls Namespace