Click or drag to resize

EnumMemberDecl Constructor (String, Expression)

Create an enum member declaration.

Namespace:  Nova.CodeDOM
Assembly:  Nova.CodeDOM (in Nova.CodeDOM.dll) Version: 7.44.8391.13415
Syntax
C#
public EnumMemberDecl(
	string name,
	Expression initialization = null
)

Parameters

name
Type: SystemString
The name of the enum member.
initialization (Optional)
Type: Nova.CodeDOMExpression
The initialization expression for the enum member.
See Also