Delen via


SyntaxTokenList.Remove(SyntaxToken) Method

Definition

Creates a new SyntaxTokenList with the specified token removed.

public:
 Microsoft::CodeAnalysis::SyntaxTokenList Remove(Microsoft::CodeAnalysis::SyntaxToken tokenInList);
public Microsoft.CodeAnalysis.SyntaxTokenList Remove (Microsoft.CodeAnalysis.SyntaxToken tokenInList);
member this.Remove : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.SyntaxTokenList
Public Function Remove (tokenInList As SyntaxToken) As SyntaxTokenList

Parameters

tokenInList
SyntaxToken

The token to remove.

Returns

Applies to