SyntaxFactory.ModuleBlock 方法

定义

重载

ModuleBlock(ModuleStatementSyntax)

表示 Module 的声明、其内容和结束它的 End 语句。

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

表示 Module 的声明、其内容和结束它的 End 语句。

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

表示 Module 的声明、其内容和结束它的 End 语句。

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

表示 Module 的声明、其内容和结束它的 End 语句。

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

参数

moduleStatement
ModuleStatementSyntax

开始块的“Module”语句。

返回

适用于

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

表示 Module 的声明、其内容和结束它的 End 语句。

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

参数

moduleStatement
ModuleStatementSyntax

开始块的“Module”语句。

inherits
SyntaxList<InheritsStatementSyntax>

类型的“继承”声明的列表。

implements
SyntaxList<ImplementsStatementSyntax>

类型的“实现”声明的列表。

members
SyntaxList<StatementSyntax>

类型或模块中包含的声明。

返回

适用于

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

表示 Module 的声明、其内容和结束它的 End 语句。

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

参数

moduleStatement
ModuleStatementSyntax

开始块的“Module”语句。

inherits
SyntaxList<InheritsStatementSyntax>

类型的“继承”声明的列表。

implements
SyntaxList<ImplementsStatementSyntax>

类型的“实现”声明的列表。

members
SyntaxList<StatementSyntax>

类型或模块中包含的声明。

endModuleStatement
EndBlockStatementSyntax

结束块的“End Module”语句。

返回

适用于