Partilhar via


SPNavigationProvider.CurrentNode Property

Gets the SiteMapNode object that represents the currently requested page.

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

Syntax

'Declaration
Public Overrides ReadOnly Property CurrentNode As SiteMapNode
    Get
'Usage
Dim instance As SPNavigationProvider
Dim value As SiteMapNode

value = instance.CurrentNode
public override SiteMapNode CurrentNode { get; }

Property Value

Type: System.Web.SiteMapNode
Returns a SiteMapNode object.

See Also

Reference

SPNavigationProvider Class

SPNavigationProvider Members

Microsoft.SharePoint.Navigation Namespace

System.Web.SiteMapNode