SPNavigation.GetNodeByUrl-Methode

Ruft ein Navigation Node-Objekt (SPNavigationNode) über die URL des Knotens ab.

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

Syntax

'Declaration
Public Function GetNodeByUrl ( _
    url As String _
) As SPNavigationNode
'Usage
Dim instance As SPNavigation
Dim url As String
Dim returnValue As SPNavigationNode

returnValue = instance.GetNodeByUrl(url)
public SPNavigationNode GetNodeByUrl(
    string url
)

Parameter

Rückgabewert

Typ: Microsoft.SharePoint.Navigation.SPNavigationNode
Gibt ein SPNavigationNode -Objekt zurück.

Hinweise

Wenn mehrere Knoten dieselbe URL aufweist, gibt diese Methode den ersten Knoten.

Siehe auch

Referenz

SPNavigation Klasse

SPNavigation-Member

Microsoft.SharePoint.Navigation-Namespace

Microsoft.SharePoint.Navigation.SPNavigationNode