DefaultModelMetadata.IsFlagsEnum Property

Definition

Gets a value indicating whether UnderlyingOrModelType is for an Enum with an associated FlagsAttribute.

public:
 virtual property bool IsFlagsEnum { bool get(); };
public override bool IsFlagsEnum { get; }
member this.IsFlagsEnum : bool
Public Overrides ReadOnly Property IsFlagsEnum As Boolean

Property Value

true if IsEnum is true and UnderlyingOrModelType has an associated FlagsAttribute; false otherwise.

Applies to