SyntaxEditor.RemoveNode Method

Definition

Overloads

RemoveNode(SyntaxNode)

Remove the node from the tree.

RemoveNode(SyntaxNode, SyntaxRemoveOptions)

Remove the node from the tree.

RemoveNode(SyntaxNode)

Remove the node from the tree.

public:
 void RemoveNode(Microsoft::CodeAnalysis::SyntaxNode ^ node);
public void RemoveNode (Microsoft.CodeAnalysis.SyntaxNode node);
member this.RemoveNode : Microsoft.CodeAnalysis.SyntaxNode -> unit
Public Sub RemoveNode (node As SyntaxNode)

Parameters

node
SyntaxNode

The node to remove that currently exists as part of the tree.

Applies to

RemoveNode(SyntaxNode, SyntaxRemoveOptions)

Remove the node from the tree.

public:
 void RemoveNode(Microsoft::CodeAnalysis::SyntaxNode ^ node, Microsoft::CodeAnalysis::SyntaxRemoveOptions options);
public void RemoveNode (Microsoft.CodeAnalysis.SyntaxNode node, Microsoft.CodeAnalysis.SyntaxRemoveOptions options);
member this.RemoveNode : Microsoft.CodeAnalysis.SyntaxNode * Microsoft.CodeAnalysis.SyntaxRemoveOptions -> unit
Public Sub RemoveNode (node As SyntaxNode, options As SyntaxRemoveOptions)

Parameters

node
SyntaxNode

The node to remove that currently exists as part of the tree.

options
SyntaxRemoveOptions

Options that affect how node removal works.

Applies to