共用方式為


CommonForEachStatementSyntax.WithForEachKeyword(SyntaxToken) 方法

定義

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::CommonForEachStatementSyntax ^ WithForEachKeyword(Microsoft::CodeAnalysis::SyntaxToken forEachKeyword);
public Microsoft.CodeAnalysis.CSharp.Syntax.CommonForEachStatementSyntax WithForEachKeyword (Microsoft.CodeAnalysis.SyntaxToken forEachKeyword);
member this.WithForEachKeyword : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.CommonForEachStatementSyntax
Public Function WithForEachKeyword (forEachKeyword As SyntaxToken) As CommonForEachStatementSyntax

參數

forEachKeyword
SyntaxToken

傳回

適用於