CollectionRangeVariableSyntax.WithInKeyword(SyntaxToken) 方法

定义

返回此副本,其中 InKeyword 属性已更改为指定值。 如果指定的值与当前值相同,则返回此实例。

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

参数

inKeyword
SyntaxToken

返回

适用于