SyntaxFactory.ExitStatement 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
ExitStatement(SyntaxKind, SyntaxToken) |
退出语句。 可以通过检查 Kind 来查找要退出的块类型。 |
ExitStatement(SyntaxKind, SyntaxToken, SyntaxToken) |
退出语句。 可以通过检查 Kind 来查找要退出的块类型。 |
ExitStatement(SyntaxKind, SyntaxToken)
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
退出语句。 可以通过检查 Kind 来查找要退出的块类型。
public:
static Microsoft::CodeAnalysis::VisualBasic::Syntax::ExitStatementSyntax ^ ExitStatement(Microsoft::CodeAnalysis::VisualBasic::SyntaxKind kind, Microsoft::CodeAnalysis::SyntaxToken blockKeyword);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.ExitStatementSyntax ExitStatement (Microsoft.CodeAnalysis.VisualBasic.SyntaxKind kind, Microsoft.CodeAnalysis.SyntaxToken blockKeyword);
static member ExitStatement : Microsoft.CodeAnalysis.VisualBasic.SyntaxKind * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ExitStatementSyntax
Public Shared Function ExitStatement (kind As SyntaxKind, blockKeyword As SyntaxToken) As ExitStatementSyntax
参数
- kind
- SyntaxKind
一个 SyntaxKind ,表示特定类型的 ExitStatementSyntax。 ExitDoStatement、ExitForStatement、ExitSubStatement、ExitFunctionStatement、ExitOperatorStatement、ExitPropertyStatement、ExitTryStatement、ExitSelectStatement、ExitWhileStatement 之一。
- blockKeyword
- SyntaxToken
描述要退出的块的关键字 (keyword) 。
返回
适用于
ExitStatement(SyntaxKind, SyntaxToken, SyntaxToken)
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
退出语句。 可以通过检查 Kind 来查找要退出的块类型。
public:
static Microsoft::CodeAnalysis::VisualBasic::Syntax::ExitStatementSyntax ^ ExitStatement(Microsoft::CodeAnalysis::VisualBasic::SyntaxKind kind, Microsoft::CodeAnalysis::SyntaxToken exitKeyword, Microsoft::CodeAnalysis::SyntaxToken blockKeyword);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.ExitStatementSyntax ExitStatement (Microsoft.CodeAnalysis.VisualBasic.SyntaxKind kind, Microsoft.CodeAnalysis.SyntaxToken exitKeyword, Microsoft.CodeAnalysis.SyntaxToken blockKeyword);
static member ExitStatement : Microsoft.CodeAnalysis.VisualBasic.SyntaxKind * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ExitStatementSyntax
Public Shared Function ExitStatement (kind As SyntaxKind, exitKeyword As SyntaxToken, blockKeyword As SyntaxToken) As ExitStatementSyntax
参数
- kind
- SyntaxKind
一个 SyntaxKind ,表示特定类型的 ExitStatementSyntax。 ExitDoStatement、ExitForStatement、ExitSubStatement、ExitFunctionStatement、ExitOperatorStatement、ExitPropertyStatement、ExitTryStatement、ExitSelectStatement、ExitWhileStatement 之一。
- exitKeyword
- SyntaxToken
“退出”关键字 (keyword) 。
- blockKeyword
- SyntaxToken
描述要退出的块的关键字 (keyword) 。