SyntaxFactory.StopStatement(SyntaxToken) 方法

定义

表示“Stop”或“End”语句。 Kind 可用于确定此语句的类型。

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

参数

stopOrEndKeyword
SyntaxToken

“Stop”或“End”关键字。

返回

适用于