Share via


ForStatementSyntax.WithInitializers Method

Definition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::ForStatementSyntax ^ WithInitializers(Microsoft::CodeAnalysis::SeparatedSyntaxList<Microsoft::CodeAnalysis::CSharp::Syntax::ExpressionSyntax ^> initializers);
public Microsoft.CodeAnalysis.CSharp.Syntax.ForStatementSyntax WithInitializers (Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax> initializers);
member this.WithInitializers : Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax> -> Microsoft.CodeAnalysis.CSharp.Syntax.ForStatementSyntax
Public Function WithInitializers (initializers As SeparatedSyntaxList(Of ExpressionSyntax)) As ForStatementSyntax

Parameters

Returns

Applies to