--- title: "Platform::Metadata::FlagsAttribute Attribute" ms.date: "12/30/2016" ms.topic: "reference" f1_keywords: ["VCCORLIB/Platform::Metadata::FlagsAttribute"] helpviewer_keywords: ["Platform::Metadata::FlagsAttribute Attribute"] ms.assetid: 56f4a191-cc81-4742-aff8-bd2219c0735c --- # Platform::Metadata::FlagsAttribute Attribute Indicates that an enumeration can be treated as a bit field; that is, a set of flags. ## Syntax ```cpp public ref class Flags abstract : Attribute ``` ## Inheritance [Platform::Object](../cppcx/platform-object-class.md) [Platform::Metadata::Attribute](../cppcx/platform-metadata-attribute-attribute.md) ### Remarks ### Requirements **Minimum supported client:** Windows 8 **Minimum supported server:** Windows Server 2012 **Namespace:** Platform::Metadata **Metadata:** platform.winmd ## See Also [Platform::Metadata Namespace](../cppcx/platform-metadata-namespace.md)