DefaultModelMetadata.IsEnum Property    
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value indicating whether UnderlyingOrModelType is for an Enum.
public:
 virtual property bool IsEnum { bool get(); };public override bool IsEnum { get; }member this.IsEnum : boolPublic Overrides ReadOnly Property IsEnum As BooleanProperty Value
true if type.IsEnum (type.GetTypeInfo().IsEnum for DNX Core 5.0) is true for
UnderlyingOrModelType; false otherwise.