ForStatementSyntax.WithForKeyword(SyntaxToken) 方法

定义

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

参数

forKeyword
SyntaxToken

返回

适用于