共用方式為


ForStatementSyntax.AddInitializers(ExpressionSyntax[]) 方法

定義

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::ForStatementSyntax ^ AddInitializers(... cli::array <Microsoft::CodeAnalysis::CSharp::Syntax::ExpressionSyntax ^> ^ items);
public Microsoft.CodeAnalysis.CSharp.Syntax.ForStatementSyntax AddInitializers (params Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax[] items);
member this.AddInitializers : Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax[] -> Microsoft.CodeAnalysis.CSharp.Syntax.ForStatementSyntax
Public Function AddInitializers (ParamArray items As ExpressionSyntax()) As ForStatementSyntax

參數

傳回

適用於