Share via


SPTreeView.SelectedNodePath property

Gets or sets the path of the selected node.

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

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