Freigeben über


CollectionRangeVariableSyntax.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::CollectionRangeVariableSyntax ^ WithInKeyword(Microsoft::CodeAnalysis::SyntaxToken inKeyword);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.CollectionRangeVariableSyntax WithInKeyword (Microsoft.CodeAnalysis.SyntaxToken inKeyword);
member this.WithInKeyword : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.CollectionRangeVariableSyntax
Public Function WithInKeyword (inKeyword As SyntaxToken) As CollectionRangeVariableSyntax

Parameters

inKeyword
SyntaxToken

Returns

Applies to