Platform::Metadata Namespace

This topic has not yet been rated - Rate this topic

This namespace contains attributes that modify the declarations of types.


   namespace Platform {
      namespace Metadata {
   }}

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.

DefaultAttribute

Indicates the preferred function to invoke among several possible overloaded functions.

FlagsAttribute

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}

Metadata: platform.winmd

Namespace: Platform::Metadata

Other Resources

Platform Namespace
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.