Share via


SyntaxFactory.ModuleBlock Method

Definition

Overloads

ModuleBlock(ModuleStatementSyntax)

Represents a declaration of Module, its contents and the End statement that ends it.

ModuleBlock(ModuleStatementSyntax, SyntaxList<InheritsStatementSyntax>, SyntaxList<ImplementsStatementSyntax>, SyntaxList<StatementSyntax>)

Represents a declaration of Module, its contents and the End statement that ends it.

ModuleBlock(ModuleStatementSyntax, SyntaxList<InheritsStatementSyntax>, SyntaxList<ImplementsStatementSyntax>, SyntaxList<StatementSyntax>, EndBlockStatementSyntax)

Represents a declaration of Module, its contents and the End statement that ends it.

ModuleBlock(ModuleStatementSyntax)

Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
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 a declaration of Module, its contents and the End statement that ends it.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::ModuleBlockSyntax ^ ModuleBlock(Microsoft::CodeAnalysis::VisualBasic::Syntax::ModuleStatementSyntax ^ moduleStatement);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.ModuleBlockSyntax ModuleBlock (Microsoft.CodeAnalysis.VisualBasic.Syntax.ModuleStatementSyntax moduleStatement);
static member ModuleBlock : Microsoft.CodeAnalysis.VisualBasic.Syntax.ModuleStatementSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ModuleBlockSyntax
Public Shared Function ModuleBlock (moduleStatement As ModuleStatementSyntax) As ModuleBlockSyntax

Parameters

moduleStatement
ModuleStatementSyntax

The "Module" statement that begins the block.

Returns

Applies to

ModuleBlock(ModuleStatementSyntax, SyntaxList<InheritsStatementSyntax>, SyntaxList<ImplementsStatementSyntax>, 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

Represents a declaration of Module, its contents and the End statement that ends it.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::ModuleBlockSyntax ^ ModuleBlock(Microsoft::CodeAnalysis::VisualBasic::Syntax::ModuleStatementSyntax ^ moduleStatement, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::InheritsStatementSyntax ^> inherits, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::ImplementsStatementSyntax ^> implements, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::StatementSyntax ^> members);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.ModuleBlockSyntax ModuleBlock (Microsoft.CodeAnalysis.VisualBasic.Syntax.ModuleStatementSyntax moduleStatement, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.InheritsStatementSyntax> inherits, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.ImplementsStatementSyntax> implements, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> members);
static member ModuleBlock : Microsoft.CodeAnalysis.VisualBasic.Syntax.ModuleStatementSyntax * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.InheritsStatementSyntax> * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.ImplementsStatementSyntax> * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ModuleBlockSyntax
Public Shared Function ModuleBlock (moduleStatement As ModuleStatementSyntax, inherits As SyntaxList(Of InheritsStatementSyntax), implements As SyntaxList(Of ImplementsStatementSyntax), members As SyntaxList(Of StatementSyntax)) As ModuleBlockSyntax

Parameters

moduleStatement
ModuleStatementSyntax

The "Module" statement that begins the block.

inherits
SyntaxList<InheritsStatementSyntax>

A list of the Inherits declarations for the type.

implements
SyntaxList<ImplementsStatementSyntax>

A list of the Implements declarations for the type.

members
SyntaxList<StatementSyntax>

The declarations contained in the type or module.

Returns

Applies to

ModuleBlock(ModuleStatementSyntax, SyntaxList<InheritsStatementSyntax>, SyntaxList<ImplementsStatementSyntax>, 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

Represents a declaration of Module, its contents and the End statement that ends it.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::ModuleBlockSyntax ^ ModuleBlock(Microsoft::CodeAnalysis::VisualBasic::Syntax::ModuleStatementSyntax ^ moduleStatement, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::InheritsStatementSyntax ^> inherits, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::ImplementsStatementSyntax ^> implements, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::StatementSyntax ^> members, Microsoft::CodeAnalysis::VisualBasic::Syntax::EndBlockStatementSyntax ^ endModuleStatement);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.ModuleBlockSyntax ModuleBlock (Microsoft.CodeAnalysis.VisualBasic.Syntax.ModuleStatementSyntax moduleStatement, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.InheritsStatementSyntax> inherits, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.ImplementsStatementSyntax> implements, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> members, Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax endModuleStatement);
static member ModuleBlock : Microsoft.CodeAnalysis.VisualBasic.Syntax.ModuleStatementSyntax * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.InheritsStatementSyntax> * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.ImplementsStatementSyntax> * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> * Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ModuleBlockSyntax
Public Shared Function ModuleBlock (moduleStatement As ModuleStatementSyntax, inherits As SyntaxList(Of InheritsStatementSyntax), implements As SyntaxList(Of ImplementsStatementSyntax), members As SyntaxList(Of StatementSyntax), endModuleStatement As EndBlockStatementSyntax) As ModuleBlockSyntax

Parameters

moduleStatement
ModuleStatementSyntax

The "Module" statement that begins the block.

inherits
SyntaxList<InheritsStatementSyntax>

A list of the Inherits declarations for the type.

implements
SyntaxList<ImplementsStatementSyntax>

A list of the Implements declarations for the type.

members
SyntaxList<StatementSyntax>

The declarations contained in the type or module.

endModuleStatement
EndBlockStatementSyntax

The "End Module" statement that ends the block.

Returns

Applies to