--- title: "Platform::Metadata::FlagsAttribute Attribute | Microsoft Docs" ms.custom: "" ms.date: "12/30/2016" ms.technology: "cpp-windows" ms.reviewer: "" ms.suite: "" ms.tgt_pltfrm: "" ms.topic: "language-reference" f1_keywords: - "VCCORLIB/Platform::Metadata::FlagsAttribute" dev_langs: - "C++" helpviewer_keywords: - "Platform::Metadata::FlagsAttribute Attribute" ms.assetid: 56f4a191-cc81-4742-aff8-bd2219c0735c caps.latest.revision: 3 author: "ghogen" ms.author: "ghogen" manager: "ghogen" --- # 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)