Compartilhar via


SyntaxFactory.StopStatement(SyntaxToken) Method

Definition

Represents a "Stop" or "End" statement. The Kind can be used to determine which kind of statement this is.

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

Parameters

stopOrEndKeyword
SyntaxToken

The "Stop" or "End" keyword.

Returns

Applies to