Share via


SeparatedSyntaxList<TNode>.Remove(TNode) Method

Definition

Creates a new list with specified element removed.

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

Parameters

node
TNode

The element to remove.

Returns

Applies to