CodeTypeDeclaration.IsEnum Property


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

Gets or sets a value indicating whether the type is an enumeration.

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

public bool IsEnum { get; set; }

Property Value

Type: System.Boolean

true if the type is an enumeration; otherwise, false.

.NET Framework
Available since 1.1
Return to top