Share via


EraseStatementSyntax.WithExpressions Method

Definition

Returns a copy of this with the Expressions 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 ^ WithExpressions(Microsoft::CodeAnalysis::SeparatedSyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionSyntax ^> expressions);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.EraseStatementSyntax WithExpressions (Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax> expressions);
member this.WithExpressions : Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax> -> Microsoft.CodeAnalysis.VisualBasic.Syntax.EraseStatementSyntax
Public Function WithExpressions (expressions As SeparatedSyntaxList(Of ExpressionSyntax)) As EraseStatementSyntax

Parameters

Returns

Applies to