共用方式為


ForStatementSyntax.WithForKeyword(SyntaxToken) Method

Definition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::ForStatementSyntax ^ WithForKeyword(Microsoft::CodeAnalysis::SyntaxToken forKeyword);
public Microsoft.CodeAnalysis.CSharp.Syntax.ForStatementSyntax WithForKeyword (Microsoft.CodeAnalysis.SyntaxToken forKeyword);
member this.WithForKeyword : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.ForStatementSyntax
Public Function WithForKeyword (forKeyword As SyntaxToken) As ForStatementSyntax

Parameters

forKeyword
SyntaxToken

Returns

Applies to