共用方式為


ForEachStatementSyntax.WithForEachKeyword(SyntaxToken) Method

Definition

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

Parameters

forEachKeyword
SyntaxToken

Returns

Applies to