SyntaxFactory.StopOrEndStatement(SyntaxKind, SyntaxToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 ^ StopOrEndStatement(Microsoft::CodeAnalysis::VisualBasic::SyntaxKind kind, Microsoft::CodeAnalysis::SyntaxToken stopOrEndKeyword);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.StopOrEndStatementSyntax StopOrEndStatement (Microsoft.CodeAnalysis.VisualBasic.SyntaxKind kind, Microsoft.CodeAnalysis.SyntaxToken stopOrEndKeyword);
static member StopOrEndStatement : Microsoft.CodeAnalysis.VisualBasic.SyntaxKind * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.StopOrEndStatementSyntax
Public Shared Function StopOrEndStatement (kind As SyntaxKind, stopOrEndKeyword As SyntaxToken) As StopOrEndStatementSyntax
Parameters
- kind
- SyntaxKind
A SyntaxKind representing the specific kind of StopOrEndStatementSyntax. One of StopStatement, EndStatement.
- stopOrEndKeyword
- SyntaxToken
The "Stop" or "End" keyword.
Returns
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.