SyntaxNodeOrTokenList.Remove(SyntaxNodeOrToken) Method

Definition

Creates a new SyntaxNodeOrTokenList with the specified element removed.

public:
 Microsoft::CodeAnalysis::SyntaxNodeOrTokenList Remove(Microsoft::CodeAnalysis::SyntaxNodeOrToken nodeOrTokenInList);
public Microsoft.CodeAnalysis.SyntaxNodeOrTokenList Remove (Microsoft.CodeAnalysis.SyntaxNodeOrToken nodeOrTokenInList);
member this.Remove : Microsoft.CodeAnalysis.SyntaxNodeOrToken -> Microsoft.CodeAnalysis.SyntaxNodeOrTokenList
Public Function Remove (nodeOrTokenInList As SyntaxNodeOrToken) As SyntaxNodeOrTokenList

Parameters

nodeOrTokenInList
SyntaxNodeOrToken

The element to remove.

Returns

Applies to