Share via


ForEachStatementSyntax.WithInKeyword(SyntaxToken) Method

Definition

Returns a copy of this with the InKeyword 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 ^ WithInKeyword(Microsoft::CodeAnalysis::SyntaxToken inKeyword);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.ForEachStatementSyntax WithInKeyword (Microsoft.CodeAnalysis.SyntaxToken inKeyword);
member this.WithInKeyword : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ForEachStatementSyntax
Public Function WithInKeyword (inKeyword As SyntaxToken) As ForEachStatementSyntax

Parameters

inKeyword
SyntaxToken

Returns

Applies to