共用方式為


ForEachStatementSyntax.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::ForEachStatementSyntax ^ WithForKeyword(Microsoft::CodeAnalysis::SyntaxToken forKeyword);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.ForEachStatementSyntax WithForKeyword (Microsoft.CodeAnalysis.SyntaxToken forKeyword);
override this.WithForKeyword : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ForEachStatementSyntax
Public Function WithForKeyword (forKeyword As SyntaxToken) As ForEachStatementSyntax

Parameters

forKeyword
SyntaxToken

Returns

Applies to