GraphNodeCollection.Remove Method (GraphNodeId)
Remove the specified node
Namespace: Microsoft.VisualStudio.GraphModel
Assembly: Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)
Syntax
'Declaration
Public Function Remove ( _
id As GraphNodeId _
) As GraphNode
public GraphNode Remove(
GraphNodeId id
)
public:
GraphNode^ Remove(
GraphNodeId^ id
)
member Remove :
id:GraphNodeId -> GraphNode
public function Remove(
id : GraphNodeId
) : GraphNode
Parameters
id
Type: Microsoft.VisualStudio.GraphModel.GraphNodeIdThe Id of the node to remove
Return Value
Type: Microsoft.VisualStudio.GraphModel.GraphNode
The Node removed, or null if it does not exist
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.