Compartir a través de


ForStatementSyntax.WithForKeyword(SyntaxToken) Method

Definition

Returns a copy of this with the ForKeyword property changed to the specified value. Returns this instance if the specified value is the same as the current value.

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

Parameters

forKeyword
SyntaxToken

Returns

Applies to