SyntaxFactory.ConstructorBlock 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
ConstructorBlock(SubNewStatementSyntax) |
表示构造函数块声明:具有起始声明、可执行语句正文和 end 语句的声明。 |
ConstructorBlock(SubNewStatementSyntax, SyntaxList<StatementSyntax>) |
表示构造函数块声明:具有起始声明、可执行语句正文和 end 语句的声明。 |
ConstructorBlock(SubNewStatementSyntax, SyntaxList<StatementSyntax>, EndBlockStatementSyntax) |
表示构造函数块声明:具有起始声明、可执行语句正文和 end 语句的声明。 |
ConstructorBlock(SubNewStatementSyntax)
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
表示构造函数块声明:具有起始声明、可执行语句正文和 end 语句的声明。
public:
static Microsoft::CodeAnalysis::VisualBasic::Syntax::ConstructorBlockSyntax ^ ConstructorBlock(Microsoft::CodeAnalysis::VisualBasic::Syntax::SubNewStatementSyntax ^ subNewStatement);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.ConstructorBlockSyntax ConstructorBlock (Microsoft.CodeAnalysis.VisualBasic.Syntax.SubNewStatementSyntax subNewStatement);
static member ConstructorBlock : Microsoft.CodeAnalysis.VisualBasic.Syntax.SubNewStatementSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ConstructorBlockSyntax
Public Shared Function ConstructorBlock (subNewStatement As SubNewStatementSyntax) As ConstructorBlockSyntax
参数
- subNewStatement
- SubNewStatementSyntax
开始块的“Sub New”语句。
返回
适用于
ConstructorBlock(SubNewStatementSyntax, 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
表示构造函数块声明:具有起始声明、可执行语句正文和 end 语句的声明。
public:
static Microsoft::CodeAnalysis::VisualBasic::Syntax::ConstructorBlockSyntax ^ ConstructorBlock(Microsoft::CodeAnalysis::VisualBasic::Syntax::SubNewStatementSyntax ^ subNewStatement, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::StatementSyntax ^> statements);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.ConstructorBlockSyntax ConstructorBlock (Microsoft.CodeAnalysis.VisualBasic.Syntax.SubNewStatementSyntax subNewStatement, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> statements);
static member ConstructorBlock : Microsoft.CodeAnalysis.VisualBasic.Syntax.SubNewStatementSyntax * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ConstructorBlockSyntax
Public Shared Function ConstructorBlock (subNewStatement As SubNewStatementSyntax, statements As SyntaxList(Of StatementSyntax)) As ConstructorBlockSyntax
参数
- subNewStatement
- SubNewStatementSyntax
开始块的“Sub New”语句。
- statements
- SyntaxList<StatementSyntax>
块语句中包含的语句。 这可能是空列表。
返回
适用于
ConstructorBlock(SubNewStatementSyntax, 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
表示构造函数块声明:具有起始声明、可执行语句正文和 end 语句的声明。
public:
static Microsoft::CodeAnalysis::VisualBasic::Syntax::ConstructorBlockSyntax ^ ConstructorBlock(Microsoft::CodeAnalysis::VisualBasic::Syntax::SubNewStatementSyntax ^ subNewStatement, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::StatementSyntax ^> statements, Microsoft::CodeAnalysis::VisualBasic::Syntax::EndBlockStatementSyntax ^ endSubStatement);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.ConstructorBlockSyntax ConstructorBlock (Microsoft.CodeAnalysis.VisualBasic.Syntax.SubNewStatementSyntax subNewStatement, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> statements, Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax endSubStatement);
static member ConstructorBlock : Microsoft.CodeAnalysis.VisualBasic.Syntax.SubNewStatementSyntax * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> * Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ConstructorBlockSyntax
Public Shared Function ConstructorBlock (subNewStatement As SubNewStatementSyntax, statements As SyntaxList(Of StatementSyntax), endSubStatement As EndBlockStatementSyntax) As ConstructorBlockSyntax
参数
- subNewStatement
- SubNewStatementSyntax
开始块的“Sub New”语句。
- statements
- SyntaxList<StatementSyntax>
块语句中包含的语句。 这可能是空列表。
- endSubStatement
- EndBlockStatementSyntax
结束块声明的“End Sub”语句。