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
url
Typ: System.StringDie URL des Knotens, das SPNavigationNode -Objekt entspricht.
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.