共用方式為


SyntaxFactory.EnumBlock 方法

定義

多載

EnumBlock(EnumStatementSyntax, SyntaxList<StatementSyntax>)

表示列舉的宣告、其內容和結束它的 End Enum 語句。

EnumBlock(EnumStatementSyntax, SyntaxList<StatementSyntax>, EndBlockStatementSyntax)

表示列舉的宣告、其內容和結束它的 End Enum 語句。

EnumBlock(EnumStatementSyntax)

表示列舉的宣告、其內容和結束它的 End Enum 語句。

EnumBlock(EnumStatementSyntax, SyntaxList<StatementSyntax>)

來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb

表示列舉的宣告、其內容和結束它的 End Enum 語句。

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)

來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb

表示列舉的宣告、其內容和結束它的 End Enum 語句。

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)

來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb

表示列舉的宣告、其內容和結束它的 End Enum 語句。

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

開始型別或模組的 語句。

傳回

適用於