อ่านในภาษาอังกฤษ

แชร์ผ่าน


ModelMetadata.IsFlagsEnum Property

Definition

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

C#
public abstract bool IsFlagsEnum { get; }

Property Value

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

Applies to

ผลิตภัณฑ์ เวอร์ชัน
ASP.NET Core 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0