SyntaxFactory.EnumMemberDeclaration 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
EnumMemberDeclaration(SyntaxToken) |
Represents a name and value in an EnumDeclarationBlock. |
EnumMemberDeclaration(String) |
Represents a name and value in an EnumDeclarationBlock. |
EnumMemberDeclaration(SyntaxList<AttributeListSyntax>, SyntaxToken, EqualsValueSyntax) |
Represents a name and value in an EnumDeclarationBlock. |
EnumMemberDeclaration(SyntaxToken)
- 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
Represents a name and value in an EnumDeclarationBlock.
public:
static Microsoft::CodeAnalysis::VisualBasic::Syntax::EnumMemberDeclarationSyntax ^ EnumMemberDeclaration(Microsoft::CodeAnalysis::SyntaxToken identifier);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.EnumMemberDeclarationSyntax EnumMemberDeclaration (Microsoft.CodeAnalysis.SyntaxToken identifier);
static member EnumMemberDeclaration : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.EnumMemberDeclarationSyntax
Public Shared Function EnumMemberDeclaration (identifier As SyntaxToken) As EnumMemberDeclarationSyntax
Parameters
- identifier
- SyntaxToken
Returns
Applies to
EnumMemberDeclaration(String)
- 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
Represents a name and value in an EnumDeclarationBlock.
public:
static Microsoft::CodeAnalysis::VisualBasic::Syntax::EnumMemberDeclarationSyntax ^ EnumMemberDeclaration(System::String ^ identifier);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.EnumMemberDeclarationSyntax EnumMemberDeclaration (string identifier);
static member EnumMemberDeclaration : string -> Microsoft.CodeAnalysis.VisualBasic.Syntax.EnumMemberDeclarationSyntax
Public Shared Function EnumMemberDeclaration (identifier As String) As EnumMemberDeclarationSyntax
Parameters
- identifier
- String
Returns
Applies to
EnumMemberDeclaration(SyntaxList<AttributeListSyntax>, SyntaxToken, EqualsValueSyntax)
- 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
Represents a name and value in an EnumDeclarationBlock.
public:
static Microsoft::CodeAnalysis::VisualBasic::Syntax::EnumMemberDeclarationSyntax ^ EnumMemberDeclaration(Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::AttributeListSyntax ^> attributeLists, Microsoft::CodeAnalysis::SyntaxToken identifier, Microsoft::CodeAnalysis::VisualBasic::Syntax::EqualsValueSyntax ^ initializer);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.EnumMemberDeclarationSyntax EnumMemberDeclaration (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.AttributeListSyntax> attributeLists, Microsoft.CodeAnalysis.SyntaxToken identifier, Microsoft.CodeAnalysis.VisualBasic.Syntax.EqualsValueSyntax initializer);
static member EnumMemberDeclaration : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.AttributeListSyntax> * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.VisualBasic.Syntax.EqualsValueSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.EnumMemberDeclarationSyntax
Public Shared Function EnumMemberDeclaration (attributeLists As SyntaxList(Of AttributeListSyntax), identifier As SyntaxToken, initializer As EqualsValueSyntax) As EnumMemberDeclarationSyntax
Parameters
- attributeLists
- SyntaxList<AttributeListSyntax>
- identifier
- SyntaxToken
- initializer
- EqualsValueSyntax
An optional value for the enum member.