Sdílet prostřednictvím


EraseStatementSyntax.WithEraseKeyword(SyntaxToken) Method

Definition

Returns a copy of this with the EraseKeyword property changed to the specified value. Returns this instance if the specified value is the same as the current value.

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::EraseStatementSyntax ^ WithEraseKeyword(Microsoft::CodeAnalysis::SyntaxToken eraseKeyword);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.EraseStatementSyntax WithEraseKeyword (Microsoft.CodeAnalysis.SyntaxToken eraseKeyword);
member this.WithEraseKeyword : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.EraseStatementSyntax
Public Function WithEraseKeyword (eraseKeyword As SyntaxToken) As EraseStatementSyntax

Parameters

eraseKeyword
SyntaxToken

Returns

Applies to