共用方式為


SPWeb.TreeViewEnabled property

取得或設定布林值,指定是否啟用SharePoint Foundation樹狀檢視的網站網頁左邊的瀏覽區域中。

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

Syntax

'宣告
Public Property TreeViewEnabled As Boolean
    Get
    Set
'用途
Dim instance As SPWeb
Dim value As Boolean

value = instance.TreeViewEnabled

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

Property value

Type: System.Boolean
若要啟用網站 ; 在樹狀檢視的true否則, false。

請參閱

參照

SPWeb class

SPWeb members

Microsoft.SharePoint namespace