SyntaxFactory.EndStatement(SyntaxToken) 方法

定义

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

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

参数

stopOrEndKeyword
SyntaxToken

“Stop”或“End”关键字。

返回

适用于