Share via


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

Return value

Type: System.Boolean

Implements

ICollection<T>.Remove(T)

See also

Reference

ConsoleNodeCollection class

ConsoleNodeCollection members

Remove overload

Microsoft.SharePoint.Publishing.WebControls namespace