SyntaxList<TNode>.Remove(TNode) Method

Definition

Creates a new list with the element removed.

public:
 Microsoft::CodeAnalysis::SyntaxList<TNode> Remove(TNode node);
public Microsoft.CodeAnalysis.SyntaxList<TNode> Remove (TNode node);
member this.Remove : 'Node -> Microsoft.CodeAnalysis.SyntaxList<'Node (requires 'Node :> Microsoft.CodeAnalysis.SyntaxNode)>
Public Function Remove (node As TNode) As SyntaxList(Of TNode)

Parameters

node
TNode

The element to remove.

Returns

Applies to