Compartilhar via


SyntaxFactory.WithBlock Método

Definição

Sobrecargas

WithBlock(WithStatementSyntax)

Representa um Com... End With block, include the With statement, the body of the block and the End With statement.

WithBlock(WithStatementSyntax, SyntaxList<StatementSyntax>)

Representa um Com... End With block, include the With statement, the body of the block and the End With statement.

WithBlock(WithStatementSyntax, SyntaxList<StatementSyntax>, EndBlockStatementSyntax)

Representa um Com... End With block, include the With statement, the body of the block and the End With statement.

WithBlock(WithStatementSyntax)

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 um Com... End With block, include the With statement, the body of the block and the End With statement.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::WithBlockSyntax ^ WithBlock(Microsoft::CodeAnalysis::VisualBasic::Syntax::WithStatementSyntax ^ withStatement);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.WithBlockSyntax WithBlock (Microsoft.CodeAnalysis.VisualBasic.Syntax.WithStatementSyntax withStatement);
static member WithBlock : Microsoft.CodeAnalysis.VisualBasic.Syntax.WithStatementSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.WithBlockSyntax
Public Shared Function WithBlock (withStatement As WithStatementSyntax) As WithBlockSyntax

Parâmetros

withStatement
WithStatementSyntax

O WithStatement que começa o With... Terminar com bloco.

Retornos

Aplica-se a

WithBlock(WithStatementSyntax, SyntaxList<StatementSyntax>)

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 um Com... End With block, include the With statement, the body of the block and the End With statement.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::WithBlockSyntax ^ WithBlock(Microsoft::CodeAnalysis::VisualBasic::Syntax::WithStatementSyntax ^ withStatement, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::StatementSyntax ^> statements);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.WithBlockSyntax WithBlock (Microsoft.CodeAnalysis.VisualBasic.Syntax.WithStatementSyntax withStatement, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> statements);
static member WithBlock : Microsoft.CodeAnalysis.VisualBasic.Syntax.WithStatementSyntax * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> -> Microsoft.CodeAnalysis.VisualBasic.Syntax.WithBlockSyntax
Public Shared Function WithBlock (withStatement As WithStatementSyntax, statements As SyntaxList(Of StatementSyntax)) As WithBlockSyntax

Parâmetros

withStatement
WithStatementSyntax

O WithStatement que começa o With... Terminar com bloco.

statements
SyntaxList<StatementSyntax>

As instruções contidas no Com... Terminar com bloco. Pode ser uma lista vazia.

Retornos

Aplica-se a

WithBlock(WithStatementSyntax, SyntaxList<StatementSyntax>, EndBlockStatementSyntax)

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 um Com... End With block, include the With statement, the body of the block and the End With statement.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::WithBlockSyntax ^ WithBlock(Microsoft::CodeAnalysis::VisualBasic::Syntax::WithStatementSyntax ^ withStatement, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::StatementSyntax ^> statements, Microsoft::CodeAnalysis::VisualBasic::Syntax::EndBlockStatementSyntax ^ endWithStatement);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.WithBlockSyntax WithBlock (Microsoft.CodeAnalysis.VisualBasic.Syntax.WithStatementSyntax withStatement, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> statements, Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax endWithStatement);
static member WithBlock : Microsoft.CodeAnalysis.VisualBasic.Syntax.WithStatementSyntax * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> * Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.WithBlockSyntax
Public Shared Function WithBlock (withStatement As WithStatementSyntax, statements As SyntaxList(Of StatementSyntax), endWithStatement As EndBlockStatementSyntax) As WithBlockSyntax

Parâmetros

withStatement
WithStatementSyntax

O WithStatement que começa o With... Terminar com bloco.

statements
SyntaxList<StatementSyntax>

As instruções contidas no Com... Terminar com bloco. Pode ser uma lista vazia.

endWithStatement
EndBlockStatementSyntax

A instrução End With que termina o bloco.

Retornos

Aplica-se a