다음을 통해 공유


SPHierarchyDataSourceControl.RootContextObject Property

Gets or sets the context object on which the tree view is rooted.

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

Syntax

'Declaration
Public Property RootContextObject As String
    Get
    Set
'Usage
Dim instance As SPHierarchyDataSourceControl
Dim value As String

value = instance.RootContextObject

instance.RootContextObject = value
public string RootContextObject { get; set; }

Property Value

Type: System.String
The value must be either SPList or SPWeb.

See Also

Reference

SPHierarchyDataSourceControl Class

SPHierarchyDataSourceControl Members

Microsoft.SharePoint.WebControls Namespace