共用方式為


AspMenu.StaticDisplayLevels property

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property StaticDisplayLevels As Integer
    Get
    Set
'Usage
Dim instance As AspMenu
Dim value As Integer

value = instance.StaticDisplayLevels

instance.StaticDisplayLevels = value
public int StaticDisplayLevels { get; set; }

Property value

Type: System.Int32

See also

Reference

AspMenu class

AspMenu members

Microsoft.SharePoint.WebControls namespace