Skip to content

Latest commit

 

History

History
45 lines (32 loc) · 1.55 KB

platform-metadata-namespace.md

File metadata and controls

45 lines (32 loc) · 1.55 KB
description title ms.date ms.topic f1_keywords helpviewer_keywords ms.assetid
Learn more about: Platform::Metadata Namespace
Platform::Metadata Namespace
12/30/2016
reference
VCCORLIB/Platform::Metadata
Platform::Metadata Namespace
e3e114d8-a4b0-47f0-865a-9ce9d7212e86

Platform::Metadata Namespace

This namespace contains attributes that modify the declarations of types.

Syntax

namespace Platform {
   namespace Metadata {
}}

Members

Although this namespace is intended for internal use, browsers can display the following members of this namespace.

Name Remark
Attribute The base class for attributes.
Platform::Metadata::DefaultMemberAttribute Attribute Indicates the preferred function to invoke among several possible overloaded functions.
Platform::Metadata::FlagsAttribute AttributeFlags Declares an enumeration as an enumeration of bit fields.

The following example shows how to apply the Flags attribute an enumeration.

[Flags] enum class MyEnumeration { enumA = 1, enumB = 2, enumC = 3}
Platform::Metadata::RuntimeClassNameAttribute Ensures that a private ref class has a valid runtime class name.

Inheritance Hierarchy

Platform

Requirements

Metadata: platform.winmd

Namespace: Platform::Metadata

See also

Platform Namespace