共用方式為


SPHierarchyDataSourceControl.ShowListChildren Property

Gets or sets a value that indicates whether this tree view should obtain and show any lists in the subtree.

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

Syntax

'Declaration
Public Property ShowListChildren As Boolean
    Get
    Set
'Usage
Dim instance As SPHierarchyDataSourceControl
Dim value As Boolean

value = instance.ShowListChildren

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

Property Value

Type: System.Boolean
true if lists are to be shown; otherwise, false.

See Also

Reference

SPHierarchyDataSourceControl Class

SPHierarchyDataSourceControl Members

Microsoft.SharePoint.WebControls Namespace