Sdílet prostřednictvím


EraseStatementSyntax.Update Method

Definition

Returns a copy of this with the specified changes. Returns this instance if there are no actual changes.

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::EraseStatementSyntax ^ Update(Microsoft::CodeAnalysis::SyntaxToken eraseKeyword, Microsoft::CodeAnalysis::SeparatedSyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionSyntax ^> expressions);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.EraseStatementSyntax Update (Microsoft.CodeAnalysis.SyntaxToken eraseKeyword, Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax> expressions);
member this.Update : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax> -> Microsoft.CodeAnalysis.VisualBasic.Syntax.EraseStatementSyntax
Public Function Update (eraseKeyword As SyntaxToken, expressions As SeparatedSyntaxList(Of ExpressionSyntax)) As EraseStatementSyntax

Parameters

eraseKeyword
SyntaxToken

The value for the EraseKeyword property.

expressions
SeparatedSyntaxList<ExpressionSyntax>

The value for the Expressions property.

Returns

Applies to