SyntaxFactory.DoStatement 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
DoStatement(SyntaxKind, SyntaxToken, WhileOrUntilClauseSyntax) |
开始Do-Loop块的 Do 语句。 |
DoStatement(SyntaxKind, WhileOrUntilClauseSyntax) |
开始Do-Loop块的 Do 语句。 |
DoStatement(SyntaxKind) |
开始Do-Loop块的 Do 语句。 |
DoStatement(SyntaxKind, SyntaxToken, WhileOrUntilClauseSyntax)
- 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块的 Do 语句。
public:
static Microsoft::CodeAnalysis::VisualBasic::Syntax::DoStatementSyntax ^ DoStatement(Microsoft::CodeAnalysis::VisualBasic::SyntaxKind kind, Microsoft::CodeAnalysis::SyntaxToken doKeyword, Microsoft::CodeAnalysis::VisualBasic::Syntax::WhileOrUntilClauseSyntax ^ whileOrUntilClause);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.DoStatementSyntax DoStatement (Microsoft.CodeAnalysis.VisualBasic.SyntaxKind kind, Microsoft.CodeAnalysis.SyntaxToken doKeyword, Microsoft.CodeAnalysis.VisualBasic.Syntax.WhileOrUntilClauseSyntax whileOrUntilClause);
static member DoStatement : Microsoft.CodeAnalysis.VisualBasic.SyntaxKind * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.VisualBasic.Syntax.WhileOrUntilClauseSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.DoStatementSyntax
Public Shared Function DoStatement (kind As SyntaxKind, doKeyword As SyntaxToken, whileOrUntilClause As WhileOrUntilClauseSyntax) As DoStatementSyntax
参数
- kind
- SyntaxKind
一个 SyntaxKind ,表示 DoStatementSyntax 的特定类型。 SimpleDoStatement、DoWhileStatement、DoUntilStatement 之一。
- doKeyword
- SyntaxToken
“Do”关键字 (keyword) 。
- whileOrUntilClause
- WhileOrUntilClauseSyntax
Do 语句的“While expression”或“Until expression”子句(如果存在)。
返回
适用于
DoStatement(SyntaxKind, WhileOrUntilClauseSyntax)
- 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块的 Do 语句。
public:
static Microsoft::CodeAnalysis::VisualBasic::Syntax::DoStatementSyntax ^ DoStatement(Microsoft::CodeAnalysis::VisualBasic::SyntaxKind kind, Microsoft::CodeAnalysis::VisualBasic::Syntax::WhileOrUntilClauseSyntax ^ whileOrUntilClause);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.DoStatementSyntax DoStatement (Microsoft.CodeAnalysis.VisualBasic.SyntaxKind kind, Microsoft.CodeAnalysis.VisualBasic.Syntax.WhileOrUntilClauseSyntax whileOrUntilClause);
static member DoStatement : Microsoft.CodeAnalysis.VisualBasic.SyntaxKind * Microsoft.CodeAnalysis.VisualBasic.Syntax.WhileOrUntilClauseSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.DoStatementSyntax
Public Shared Function DoStatement (kind As SyntaxKind, whileOrUntilClause As WhileOrUntilClauseSyntax) As DoStatementSyntax
参数
- kind
- SyntaxKind
一个 SyntaxKind ,表示 DoStatementSyntax 的特定类型。 SimpleDoStatement、DoWhileStatement、DoUntilStatement 之一。
- whileOrUntilClause
- WhileOrUntilClauseSyntax
Do 语句的“While expression”或“Until expression”子句(如果存在)。
返回
适用于
DoStatement(SyntaxKind)
- 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块的 Do 语句。
public:
static Microsoft::CodeAnalysis::VisualBasic::Syntax::DoStatementSyntax ^ DoStatement(Microsoft::CodeAnalysis::VisualBasic::SyntaxKind kind);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.DoStatementSyntax DoStatement (Microsoft.CodeAnalysis.VisualBasic.SyntaxKind kind);
static member DoStatement : Microsoft.CodeAnalysis.VisualBasic.SyntaxKind -> Microsoft.CodeAnalysis.VisualBasic.Syntax.DoStatementSyntax
Public Shared Function DoStatement (kind As SyntaxKind) As DoStatementSyntax
参数
- kind
- SyntaxKind
一个 SyntaxKind ,表示 DoStatementSyntax 的特定类型。 SimpleDoStatement、DoWhileStatement、DoUntilStatement 之一。