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