CodeGenerator.IsCurrentEnum Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets a value indicating whether the current object being generated is an enumeration.

Namespace:   System.CodeDom.Compiler
Assembly:  System (in System.dll)

protected bool IsCurrentEnum { get; }

Property Value

Type: System.Boolean

true if the current object is an enumeration; otherwise, false.

.NET Framework
Available since 1.1
Return to top