共用方式為


ForEachVariableStatementSyntax.WithForEachKeyword(SyntaxToken) Method

Definition

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

Parameters

forEachKeyword
SyntaxToken

Returns

Applies to