SyntaxFactory.EnumBlock 方法

定义

重载

EnumBlock(EnumStatementSyntax, SyntaxList<StatementSyntax>)

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

EnumBlock(EnumStatementSyntax, SyntaxList<StatementSyntax>, EndBlockStatementSyntax)

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

EnumBlock(EnumStatementSyntax)

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

EnumBlock(EnumStatementSyntax, 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::EnumBlockSyntax ^ EnumBlock(Microsoft::CodeAnalysis::VisualBasic::Syntax::EnumStatementSyntax ^ enumStatement, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::StatementSyntax ^> members);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.EnumBlockSyntax EnumBlock (Microsoft.CodeAnalysis.VisualBasic.Syntax.EnumStatementSyntax enumStatement, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> members);
static member EnumBlock : Microsoft.CodeAnalysis.VisualBasic.Syntax.EnumStatementSyntax * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> -> Microsoft.CodeAnalysis.VisualBasic.Syntax.EnumBlockSyntax
Public Shared Function EnumBlock (enumStatement As EnumStatementSyntax, members As SyntaxList(Of StatementSyntax)) As EnumBlockSyntax

参数

enumStatement
EnumStatementSyntax

开始类型或模块的语句。

members
SyntaxList<StatementSyntax>

枚举中包含的声明。

返回

适用于

EnumBlock(EnumStatementSyntax, 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::EnumBlockSyntax ^ EnumBlock(Microsoft::CodeAnalysis::VisualBasic::Syntax::EnumStatementSyntax ^ enumStatement, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::StatementSyntax ^> members, Microsoft::CodeAnalysis::VisualBasic::Syntax::EndBlockStatementSyntax ^ endEnumStatement);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.EnumBlockSyntax EnumBlock (Microsoft.CodeAnalysis.VisualBasic.Syntax.EnumStatementSyntax enumStatement, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> members, Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax endEnumStatement);
static member EnumBlock : Microsoft.CodeAnalysis.VisualBasic.Syntax.EnumStatementSyntax * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> * Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.EnumBlockSyntax
Public Shared Function EnumBlock (enumStatement As EnumStatementSyntax, members As SyntaxList(Of StatementSyntax), endEnumStatement As EndBlockStatementSyntax) As EnumBlockSyntax

参数

enumStatement
EnumStatementSyntax

开始类型或模块的语句。

members
SyntaxList<StatementSyntax>

枚举中包含的声明。

endEnumStatement
EndBlockStatementSyntax

结束块的 End XXX 语句。

返回

适用于

EnumBlock(EnumStatementSyntax)

Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
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::EnumBlockSyntax ^ EnumBlock(Microsoft::CodeAnalysis::VisualBasic::Syntax::EnumStatementSyntax ^ enumStatement);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.EnumBlockSyntax EnumBlock (Microsoft.CodeAnalysis.VisualBasic.Syntax.EnumStatementSyntax enumStatement);
static member EnumBlock : Microsoft.CodeAnalysis.VisualBasic.Syntax.EnumStatementSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.EnumBlockSyntax
Public Shared Function EnumBlock (enumStatement As EnumStatementSyntax) As EnumBlockSyntax

参数

enumStatement
EnumStatementSyntax

开始类型或模块的语句。

返回

适用于