SPNavigationNodeCollection.Delete Method
Deletes the specified SPNavigationNode object from the collection.
Namespace: Microsoft.SharePoint.Navigation
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public Sub Delete ( _
node As SPNavigationNode _
)
'Usage
Dim instance As SPNavigationNodeCollection
Dim node As SPNavigationNode
instance.Delete(node)
public void Delete(
SPNavigationNode node
)
Parameters
node
Type: Microsoft.SharePoint.Navigation.SPNavigationNodeSpecifies the element to delete from the collection.
Remarks
This change occurs immediately and does not require a call to the Update method.
See Also
Reference
SPNavigationNodeCollection Class
SPNavigationNodeCollection Members
Microsoft.SharePoint.Navigation Namespace