StopOrEndStatementSyntax.WithStopOrEndKeyword(SyntaxToken) 方法

定义

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

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::StopOrEndStatementSyntax ^ WithStopOrEndKeyword(Microsoft::CodeAnalysis::SyntaxToken stopOrEndKeyword);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.StopOrEndStatementSyntax WithStopOrEndKeyword (Microsoft.CodeAnalysis.SyntaxToken stopOrEndKeyword);
member this.WithStopOrEndKeyword : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.StopOrEndStatementSyntax
Public Function WithStopOrEndKeyword (stopOrEndKeyword As SyntaxToken) As StopOrEndStatementSyntax

参数

stopOrEndKeyword
SyntaxToken

返回

适用于