Megosztás a következőn keresztül:


ModelMetadata.IsFlagsEnum Property

Definition

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

public:
 abstract property bool IsFlagsEnum { bool get(); };
public abstract bool IsFlagsEnum { get; }
member this.IsFlagsEnum : bool
Public MustOverride ReadOnly Property IsFlagsEnum As Boolean

Property Value

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

Applies to