共用方式為


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

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

Microsoft.SharePoint.Navigation.SPNavigationNode

SPNavigationNode.Update