다음을 통해 공유


SyntaxFactory.UsingBlock Method

Definition

Overloads

UsingBlock(UsingStatementSyntax)

Represents an entire Using...End Using statement, including the Using, body and End Using statements.

UsingBlock(UsingStatementSyntax, SyntaxList<StatementSyntax>)

Represents an entire Using...End Using statement, including the Using, body and End Using statements.

UsingBlock(UsingStatementSyntax, SyntaxList<StatementSyntax>, EndBlockStatementSyntax)

Represents an entire Using...End Using statement, including the Using, body and End Using statements.

UsingBlock(UsingStatementSyntax)

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
Source:
Syntax.xml.Main.Generated.vb

Represents an entire Using...End Using statement, including the Using, body and End Using statements.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::UsingBlockSyntax ^ UsingBlock(Microsoft::CodeAnalysis::VisualBasic::Syntax::UsingStatementSyntax ^ usingStatement);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.UsingBlockSyntax UsingBlock (Microsoft.CodeAnalysis.VisualBasic.Syntax.UsingStatementSyntax usingStatement);
static member UsingBlock : Microsoft.CodeAnalysis.VisualBasic.Syntax.UsingStatementSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.UsingBlockSyntax
Public Shared Function UsingBlock (usingStatement As UsingStatementSyntax) As UsingBlockSyntax

Parameters

usingStatement
UsingStatementSyntax

The UsingStatement that begins the Using...End Using block.

Returns

Applies to

UsingBlock(UsingStatementSyntax, 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
Source:
Syntax.xml.Main.Generated.vb

Represents an entire Using...End Using statement, including the Using, body and End Using statements.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::UsingBlockSyntax ^ UsingBlock(Microsoft::CodeAnalysis::VisualBasic::Syntax::UsingStatementSyntax ^ usingStatement, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::StatementSyntax ^> statements);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.UsingBlockSyntax UsingBlock (Microsoft.CodeAnalysis.VisualBasic.Syntax.UsingStatementSyntax usingStatement, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> statements);
static member UsingBlock : Microsoft.CodeAnalysis.VisualBasic.Syntax.UsingStatementSyntax * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> -> Microsoft.CodeAnalysis.VisualBasic.Syntax.UsingBlockSyntax
Public Shared Function UsingBlock (usingStatement As UsingStatementSyntax, statements As SyntaxList(Of StatementSyntax)) As UsingBlockSyntax

Parameters

usingStatement
UsingStatementSyntax

The UsingStatement that begins the Using...End Using block.

statements
SyntaxList<StatementSyntax>

The statements contained in the Using...End Using block. This might be an empty list.

Returns

Applies to

UsingBlock(UsingStatementSyntax, 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
Source:
Syntax.xml.Main.Generated.vb

Represents an entire Using...End Using statement, including the Using, body and End Using statements.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::UsingBlockSyntax ^ UsingBlock(Microsoft::CodeAnalysis::VisualBasic::Syntax::UsingStatementSyntax ^ usingStatement, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::StatementSyntax ^> statements, Microsoft::CodeAnalysis::VisualBasic::Syntax::EndBlockStatementSyntax ^ endUsingStatement);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.UsingBlockSyntax UsingBlock (Microsoft.CodeAnalysis.VisualBasic.Syntax.UsingStatementSyntax usingStatement, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> statements, Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax endUsingStatement);
static member UsingBlock : Microsoft.CodeAnalysis.VisualBasic.Syntax.UsingStatementSyntax * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> * Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.UsingBlockSyntax
Public Shared Function UsingBlock (usingStatement As UsingStatementSyntax, statements As SyntaxList(Of StatementSyntax), endUsingStatement As EndBlockStatementSyntax) As UsingBlockSyntax

Parameters

usingStatement
UsingStatementSyntax

The UsingStatement that begins the Using...End Using block.

statements
SyntaxList<StatementSyntax>

The statements contained in the Using...End Using block. This might be an empty list.

endUsingStatement
EndBlockStatementSyntax

The End Using statement that ends the block.

Returns

Applies to