SPNavigationProvider.GetMenuState method
Namespace: Microsoft.SharePoint.Navigation
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Protected Overridable Function GetMenuState ( _
startingNodeKey As String, _
maximumDepth As Integer _
) As EditableAspMenuState
'Usage
Dim startingNodeKey As String
Dim maximumDepth As Integer
Dim returnValue As EditableAspMenuState
returnValue = Me.GetMenuState(startingNodeKey, _
maximumDepth)
protected virtual EditableAspMenuState GetMenuState(
string startingNodeKey,
int maximumDepth
)
Parameters
- startingNodeKey
Type: System.String
- maximumDepth
Type: System.Int32
Return value
Type: Microsoft.SharePoint.Navigation.EditableAspMenuState