ConsoleNodeCollection.Remove Method (ConsoleNode)
Removes the first occurrence of a specific node from the ConsoleNodeCollection object.
Namespace: Microsoft.SharePoint.Publishing.WebControls
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Function Remove ( _
node As ConsoleNode _
) As Boolean
'Usage
Dim instance As ConsoleNodeCollection
Dim node As ConsoleNode
Dim returnValue As Boolean
returnValue = instance.Remove(node)
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public bool Remove(
ConsoleNode node
)
Parameters
node
Type: Microsoft.SharePoint.Publishing.WebControls.ConsoleNodeThe node to remove from the ConsoleNodeCollection.
Return Value
Type: System.Boolean