Udostępnij za pośrednictwem


ExpressionStatementSyntax.Update(ExpressionSyntax) 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::ExpressionStatementSyntax ^ Update(Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionSyntax ^ expression);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionStatementSyntax Update (Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax expression);
member this.Update : Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionStatementSyntax
Public Function Update (expression As ExpressionSyntax) As ExpressionStatementSyntax

Parameters

expression
ExpressionSyntax

The value for the Expression property.

Returns

Applies to