Export (0) Print
Expand All

CodeGenerator.IsCurrentEnum Property

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft