Delen via


SyntaxGenerator.EnumMember(String, SyntaxNode) Method

Definition

Creates an enum member

public abstract Microsoft.CodeAnalysis.SyntaxNode EnumMember (string name, Microsoft.CodeAnalysis.SyntaxNode expression = default);
public abstract Microsoft.CodeAnalysis.SyntaxNode EnumMember (string name, Microsoft.CodeAnalysis.SyntaxNode? expression = default);
abstract member EnumMember : string * Microsoft.CodeAnalysis.SyntaxNode -> Microsoft.CodeAnalysis.SyntaxNode
Public MustOverride Function EnumMember (name As String, Optional expression As SyntaxNode = Nothing) As SyntaxNode

Parameters

name
String
expression
SyntaxNode

Returns

Applies to