共用方式為


SPTreeView.SelectedNodePath Property

Gets or sets the path of the selected node.

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

Syntax

'Declaration
Public Property SelectedNodePath As String
    Get
    Set
'Usage
Dim instance As SPTreeView
Dim value As String

value = instance.SelectedNodePath

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

Property Value

Type: System.String
The path of the selected node.

See Also

Reference

SPTreeView Class

SPTreeView Members

Microsoft.SharePoint.WebControls Namespace