ForEachVariableStatementSyntax.WithStatement(StatementSyntax) Method

Definition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::ForEachVariableStatementSyntax ^ WithStatement(Microsoft::CodeAnalysis::CSharp::Syntax::StatementSyntax ^ statement);
public Microsoft.CodeAnalysis.CSharp.Syntax.ForEachVariableStatementSyntax WithStatement (Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax statement);
override this.WithStatement : Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.ForEachVariableStatementSyntax
Public Function WithStatement (statement As StatementSyntax) As ForEachVariableStatementSyntax

Parameters

statement
StatementSyntax

Returns

Applies to