SyntaxFactory.EnumDeclaration Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
EnumDeclaration(SyntaxToken) |
Creates a new EnumDeclarationSyntax instance. |
EnumDeclaration(String) |
Creates a new EnumDeclarationSyntax instance. |
EnumDeclaration(SyntaxList<AttributeListSyntax>, SyntaxTokenList, SyntaxToken, BaseListSyntax, SeparatedSyntaxList<EnumMemberDeclarationSyntax>) |
Creates a new EnumDeclarationSyntax instance. |
EnumDeclaration(SyntaxList<AttributeListSyntax>, SyntaxTokenList, SyntaxToken, SyntaxToken, BaseListSyntax, SyntaxToken, SeparatedSyntaxList<EnumMemberDeclarationSyntax>, SyntaxToken, SyntaxToken) |
Creates a new EnumDeclarationSyntax instance. |
EnumDeclaration(SyntaxToken)
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
Creates a new EnumDeclarationSyntax instance.
public:
static Microsoft::CodeAnalysis::CSharp::Syntax::EnumDeclarationSyntax ^ EnumDeclaration(Microsoft::CodeAnalysis::SyntaxToken identifier);
public static Microsoft.CodeAnalysis.CSharp.Syntax.EnumDeclarationSyntax EnumDeclaration (Microsoft.CodeAnalysis.SyntaxToken identifier);
static member EnumDeclaration : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.EnumDeclarationSyntax
Public Shared Function EnumDeclaration (identifier As SyntaxToken) As EnumDeclarationSyntax
Parameters
- identifier
- SyntaxToken
Returns
Applies to
EnumDeclaration(String)
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
Creates a new EnumDeclarationSyntax instance.
public:
static Microsoft::CodeAnalysis::CSharp::Syntax::EnumDeclarationSyntax ^ EnumDeclaration(System::String ^ identifier);
public static Microsoft.CodeAnalysis.CSharp.Syntax.EnumDeclarationSyntax EnumDeclaration (string identifier);
static member EnumDeclaration : string -> Microsoft.CodeAnalysis.CSharp.Syntax.EnumDeclarationSyntax
Public Shared Function EnumDeclaration (identifier As String) As EnumDeclarationSyntax
Parameters
- identifier
- String
Returns
Applies to
EnumDeclaration(SyntaxList<AttributeListSyntax>, SyntaxTokenList, SyntaxToken, BaseListSyntax, SeparatedSyntaxList<EnumMemberDeclarationSyntax>)
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
Creates a new EnumDeclarationSyntax instance.
public:
static Microsoft::CodeAnalysis::CSharp::Syntax::EnumDeclarationSyntax ^ EnumDeclaration(Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::CSharp::Syntax::AttributeListSyntax ^> attributeLists, Microsoft::CodeAnalysis::SyntaxTokenList modifiers, Microsoft::CodeAnalysis::SyntaxToken identifier, Microsoft::CodeAnalysis::CSharp::Syntax::BaseListSyntax ^ baseList, Microsoft::CodeAnalysis::SeparatedSyntaxList<Microsoft::CodeAnalysis::CSharp::Syntax::EnumMemberDeclarationSyntax ^> members);
public static Microsoft.CodeAnalysis.CSharp.Syntax.EnumDeclarationSyntax EnumDeclaration (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> attributeLists, Microsoft.CodeAnalysis.SyntaxTokenList modifiers, Microsoft.CodeAnalysis.SyntaxToken identifier, Microsoft.CodeAnalysis.CSharp.Syntax.BaseListSyntax baseList, Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.EnumMemberDeclarationSyntax> members);
public static Microsoft.CodeAnalysis.CSharp.Syntax.EnumDeclarationSyntax EnumDeclaration (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> attributeLists, Microsoft.CodeAnalysis.SyntaxTokenList modifiers, Microsoft.CodeAnalysis.SyntaxToken identifier, Microsoft.CodeAnalysis.CSharp.Syntax.BaseListSyntax? baseList, Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.EnumMemberDeclarationSyntax> members);
static member EnumDeclaration : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> * Microsoft.CodeAnalysis.SyntaxTokenList * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.BaseListSyntax * Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.EnumMemberDeclarationSyntax> -> Microsoft.CodeAnalysis.CSharp.Syntax.EnumDeclarationSyntax
Public Shared Function EnumDeclaration (attributeLists As SyntaxList(Of AttributeListSyntax), modifiers As SyntaxTokenList, identifier As SyntaxToken, baseList As BaseListSyntax, members As SeparatedSyntaxList(Of EnumMemberDeclarationSyntax)) As EnumDeclarationSyntax
Parameters
- attributeLists
- SyntaxList<AttributeListSyntax>
- modifiers
- SyntaxTokenList
- identifier
- SyntaxToken
- baseList
- BaseListSyntax
Returns
Applies to
EnumDeclaration(SyntaxList<AttributeListSyntax>, SyntaxTokenList, SyntaxToken, SyntaxToken, BaseListSyntax, SyntaxToken, SeparatedSyntaxList<EnumMemberDeclarationSyntax>, SyntaxToken, SyntaxToken)
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
Creates a new EnumDeclarationSyntax instance.
public:
static Microsoft::CodeAnalysis::CSharp::Syntax::EnumDeclarationSyntax ^ EnumDeclaration(Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::CSharp::Syntax::AttributeListSyntax ^> attributeLists, Microsoft::CodeAnalysis::SyntaxTokenList modifiers, Microsoft::CodeAnalysis::SyntaxToken enumKeyword, Microsoft::CodeAnalysis::SyntaxToken identifier, Microsoft::CodeAnalysis::CSharp::Syntax::BaseListSyntax ^ baseList, Microsoft::CodeAnalysis::SyntaxToken openBraceToken, Microsoft::CodeAnalysis::SeparatedSyntaxList<Microsoft::CodeAnalysis::CSharp::Syntax::EnumMemberDeclarationSyntax ^> members, Microsoft::CodeAnalysis::SyntaxToken closeBraceToken, Microsoft::CodeAnalysis::SyntaxToken semicolonToken);
public static Microsoft.CodeAnalysis.CSharp.Syntax.EnumDeclarationSyntax EnumDeclaration (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> attributeLists, Microsoft.CodeAnalysis.SyntaxTokenList modifiers, Microsoft.CodeAnalysis.SyntaxToken enumKeyword, Microsoft.CodeAnalysis.SyntaxToken identifier, Microsoft.CodeAnalysis.CSharp.Syntax.BaseListSyntax baseList, Microsoft.CodeAnalysis.SyntaxToken openBraceToken, Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.EnumMemberDeclarationSyntax> members, Microsoft.CodeAnalysis.SyntaxToken closeBraceToken, Microsoft.CodeAnalysis.SyntaxToken semicolonToken);
public static Microsoft.CodeAnalysis.CSharp.Syntax.EnumDeclarationSyntax EnumDeclaration (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> attributeLists, Microsoft.CodeAnalysis.SyntaxTokenList modifiers, Microsoft.CodeAnalysis.SyntaxToken enumKeyword, Microsoft.CodeAnalysis.SyntaxToken identifier, Microsoft.CodeAnalysis.CSharp.Syntax.BaseListSyntax? baseList, Microsoft.CodeAnalysis.SyntaxToken openBraceToken, Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.EnumMemberDeclarationSyntax> members, Microsoft.CodeAnalysis.SyntaxToken closeBraceToken, Microsoft.CodeAnalysis.SyntaxToken semicolonToken);
static member EnumDeclaration : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> * Microsoft.CodeAnalysis.SyntaxTokenList * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.BaseListSyntax * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.EnumMemberDeclarationSyntax> * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.EnumDeclarationSyntax
Public Shared Function EnumDeclaration (attributeLists As SyntaxList(Of AttributeListSyntax), modifiers As SyntaxTokenList, enumKeyword As SyntaxToken, identifier As SyntaxToken, baseList As BaseListSyntax, openBraceToken As SyntaxToken, members As SeparatedSyntaxList(Of EnumMemberDeclarationSyntax), closeBraceToken As SyntaxToken, semicolonToken As SyntaxToken) As EnumDeclarationSyntax
Parameters
- attributeLists
- SyntaxList<AttributeListSyntax>
- modifiers
- SyntaxTokenList
- enumKeyword
- SyntaxToken
- identifier
- SyntaxToken
- baseList
- BaseListSyntax
- openBraceToken
- SyntaxToken
- closeBraceToken
- SyntaxToken
- semicolonToken
- SyntaxToken
Returns
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET