Delen via


GraphNodeCollection.Remove Method (GraphNode)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Removes the first occurrence of a specific object from the System.Collections.Generic.ICollection.

Namespace:  Microsoft.VisualStudio.GraphModel
Assembly:  Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)

Syntax

'Declaration
Public Function Remove ( _
    item As GraphNode _
) As Boolean
public bool Remove(
    GraphNode item
)
public:
virtual bool Remove(
    GraphNode^ item
) sealed
abstract Remove : 
        item:GraphNode -> bool  
override Remove : 
        item:GraphNode -> bool
public final function Remove(
    item : GraphNode
) : boolean

Parameters

Return Value

Type: System.Boolean
true if item was successfully removed from the System.Collections.Generic.ICollection; otherwise, false. This method also returns false if item is not found in the original System.Collections.Generic.ICollection.

Implements

ICollection<T>.Remove(T)

.NET Framework Security

See Also

Reference

GraphNodeCollection Class

Remove Overload

Microsoft.VisualStudio.GraphModel Namespace