SyntaxFactory.DoLoopBlock 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
DoLoopBlock(SyntaxKind, DoStatementSyntax, LoopStatementSyntax) |
表示Do-Loop块。 Kind 属性可用于确定这是 Do While、Do Until、Do Loop While、Do Loop Until 还是 infinite Do Loop。 |
DoLoopBlock(SyntaxKind, DoStatementSyntax, SyntaxList<StatementSyntax>, LoopStatementSyntax) |
表示Do-Loop块。 Kind 属性可用于确定这是 Do While、Do Until、Do Loop While、Do Loop Until 还是 infinite Do Loop。 |
DoLoopBlock(SyntaxKind, DoStatementSyntax, LoopStatementSyntax)
- 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
表示Do-Loop块。 Kind 属性可用于确定这是 Do While、Do Until、Do Loop While、Do Loop Until 还是 infinite Do Loop。
public:
static Microsoft::CodeAnalysis::VisualBasic::Syntax::DoLoopBlockSyntax ^ DoLoopBlock(Microsoft::CodeAnalysis::VisualBasic::SyntaxKind kind, Microsoft::CodeAnalysis::VisualBasic::Syntax::DoStatementSyntax ^ doStatement, Microsoft::CodeAnalysis::VisualBasic::Syntax::LoopStatementSyntax ^ loopStatement);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.DoLoopBlockSyntax DoLoopBlock (Microsoft.CodeAnalysis.VisualBasic.SyntaxKind kind, Microsoft.CodeAnalysis.VisualBasic.Syntax.DoStatementSyntax doStatement, Microsoft.CodeAnalysis.VisualBasic.Syntax.LoopStatementSyntax loopStatement);
static member DoLoopBlock : Microsoft.CodeAnalysis.VisualBasic.SyntaxKind * Microsoft.CodeAnalysis.VisualBasic.Syntax.DoStatementSyntax * Microsoft.CodeAnalysis.VisualBasic.Syntax.LoopStatementSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.DoLoopBlockSyntax
Public Shared Function DoLoopBlock (kind As SyntaxKind, doStatement As DoStatementSyntax, loopStatement As LoopStatementSyntax) As DoLoopBlockSyntax
参数
- kind
- SyntaxKind
一个 SyntaxKind ,表示 DoLoopBlockSyntax 的特定类型。 SimpleDoLoopBlock、DoWhileLoopBlock、DoUntilLoopBlock、DoLoopWhileBlock、DoLoopUntilBlock 之一。
- doStatement
- DoStatementSyntax
开始块的 Do 语句。
- loopStatement
- LoopStatementSyntax
结束块的 Loop 语句。
返回
适用于
DoLoopBlock(SyntaxKind, DoStatementSyntax, SyntaxList<StatementSyntax>, LoopStatementSyntax)
- 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
表示Do-Loop块。 Kind 属性可用于确定这是 Do While、Do Until、Do Loop While、Do Loop Until 还是 infinite Do Loop。
public:
static Microsoft::CodeAnalysis::VisualBasic::Syntax::DoLoopBlockSyntax ^ DoLoopBlock(Microsoft::CodeAnalysis::VisualBasic::SyntaxKind kind, Microsoft::CodeAnalysis::VisualBasic::Syntax::DoStatementSyntax ^ doStatement, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::StatementSyntax ^> statements, Microsoft::CodeAnalysis::VisualBasic::Syntax::LoopStatementSyntax ^ loopStatement);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.DoLoopBlockSyntax DoLoopBlock (Microsoft.CodeAnalysis.VisualBasic.SyntaxKind kind, Microsoft.CodeAnalysis.VisualBasic.Syntax.DoStatementSyntax doStatement, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> statements, Microsoft.CodeAnalysis.VisualBasic.Syntax.LoopStatementSyntax loopStatement);
static member DoLoopBlock : Microsoft.CodeAnalysis.VisualBasic.SyntaxKind * Microsoft.CodeAnalysis.VisualBasic.Syntax.DoStatementSyntax * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> * Microsoft.CodeAnalysis.VisualBasic.Syntax.LoopStatementSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.DoLoopBlockSyntax
Public Shared Function DoLoopBlock (kind As SyntaxKind, doStatement As DoStatementSyntax, statements As SyntaxList(Of StatementSyntax), loopStatement As LoopStatementSyntax) As DoLoopBlockSyntax
参数
- kind
- SyntaxKind
一个 SyntaxKind ,表示 DoLoopBlockSyntax 的特定类型。 SimpleDoLoopBlock、DoWhileLoopBlock、DoUntilLoopBlock、DoLoopWhileBlock、DoLoopUntilBlock 之一。
- doStatement
- DoStatementSyntax
开始块的 Do 语句。
- statements
- SyntaxList<StatementSyntax>
块语句中包含的语句。 这可能是一个空列表。
- loopStatement
- LoopStatementSyntax
结束块的 Loop 语句。