Compartir a través de


SyntaxFactory.ForBlock Método

Definición

Sobrecargas

ForBlock(ForStatementSyntax)

Representa un bloque For, incluida la instrucción introducing, el cuerpo y el "Next" (que se puede omitir si un objeto for contiene un elemento Next con varias variables).

ForBlock(ForStatementSyntax, SyntaxList<StatementSyntax>, NextStatementSyntax)

Representa un bloque For, incluida la instrucción introducing, el cuerpo y el "Next" (que se puede omitir si un objeto for contiene un elemento Next con varias variables).

ForBlock(ForStatementSyntax)

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

Representa un bloque For, incluida la instrucción introducing, el cuerpo y el "Next" (que se puede omitir si un objeto for contiene un elemento Next con varias variables).

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::ForBlockSyntax ^ ForBlock(Microsoft::CodeAnalysis::VisualBasic::Syntax::ForStatementSyntax ^ forStatement);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.ForBlockSyntax ForBlock (Microsoft.CodeAnalysis.VisualBasic.Syntax.ForStatementSyntax forStatement);
static member ForBlock : Microsoft.CodeAnalysis.VisualBasic.Syntax.ForStatementSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ForBlockSyntax
Public Shared Function ForBlock (forStatement As ForStatementSyntax) As ForBlockSyntax

Parámetros

forStatement
ForStatementSyntax

Instrucción For que comienza el bloque.

Devoluciones

Se aplica a

ForBlock(ForStatementSyntax, SyntaxList<StatementSyntax>, NextStatementSyntax)

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

Representa un bloque For, incluida la instrucción introducing, el cuerpo y el "Next" (que se puede omitir si un objeto for contiene un elemento Next con varias variables).

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::ForBlockSyntax ^ ForBlock(Microsoft::CodeAnalysis::VisualBasic::Syntax::ForStatementSyntax ^ forStatement, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::StatementSyntax ^> statements, Microsoft::CodeAnalysis::VisualBasic::Syntax::NextStatementSyntax ^ nextStatement);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.ForBlockSyntax ForBlock (Microsoft.CodeAnalysis.VisualBasic.Syntax.ForStatementSyntax forStatement, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> statements, Microsoft.CodeAnalysis.VisualBasic.Syntax.NextStatementSyntax nextStatement);
static member ForBlock : Microsoft.CodeAnalysis.VisualBasic.Syntax.ForStatementSyntax * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> * Microsoft.CodeAnalysis.VisualBasic.Syntax.NextStatementSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ForBlockSyntax
Public Shared Function ForBlock (forStatement As ForStatementSyntax, statements As SyntaxList(Of StatementSyntax), nextStatement As NextStatementSyntax) As ForBlockSyntax

Parámetros

forStatement
ForStatementSyntax

Instrucción For que comienza el bloque.

statements
SyntaxList<StatementSyntax>

Instrucciones contenidas en el bucle For o For Each. Puede ser una lista vacía.

nextStatement
NextStatementSyntax

La instrucción Next que finaliza el bloque. Si dos instrucciones For o For Each finalizan mediante una sola instrucción Next, la instrucción Interna For no tendrá una instrucción Next.

Devoluciones

Se aplica a