Partager via


SyntaxFactory.WithBlock Méthode

Définition

Surcharges

WithBlock(WithStatementSyntax)

Représente un avec... End With block, incluez l’instruction With, le corps du bloc et l’instruction End With.

WithBlock(WithStatementSyntax, SyntaxList<StatementSyntax>)

Représente un avec... End With block, incluez l’instruction With, le corps du bloc et l’instruction End With.

WithBlock(WithStatementSyntax, SyntaxList<StatementSyntax>, EndBlockStatementSyntax)

Représente un avec... End With block, incluez l’instruction With, le corps du bloc et l’instruction End With.

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

Représente un avec... End With block, incluez l’instruction With, le corps du bloc et l’instruction End With.

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

Paramètres

withStatement
WithStatementSyntax

WithStatement qui commence le With... Fin avec un bloc.

Retours

S’applique à

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

Représente un avec... End With block, incluez l’instruction With, le corps du bloc et l’instruction End With.

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

Paramètres

withStatement
WithStatementSyntax

WithStatement qui commence le With... Fin avec un bloc.

statements
SyntaxList<StatementSyntax>

Les instructions contenues dans with... Fin avec un bloc. Il peut s’agir d’une liste vide.

Retours

S’applique à

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

Représente un avec... End With block, incluez l’instruction With, le corps du bloc et l’instruction End With.

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

Paramètres

withStatement
WithStatementSyntax

WithStatement qui commence le With... Fin avec un bloc.

statements
SyntaxList<StatementSyntax>

Les instructions contenues dans with... Fin avec un bloc. Il peut s’agir d’une liste vide.

endWithStatement
EndBlockStatementSyntax

Instruction End With qui termine le bloc.

Retours

S’applique à