Windows.Foundation.Metadata
TOC
Réduire la table des matières
Développer la table des matières

Windows.Foundation.Metadata Namespace

Définit les attributs indiquant les propriétés fondamentales des types et membres Windows Runtime.

Membres

Windows.Foundation.MetadataEspace de noms possède ces types de membres :

Attributs

Le Windows.Foundation.MetadataEspace de noms possède les attributs suivants.

AttributDescription
ActivatableAttribute Indicates that the class is an activatable runtime class.
AllowMultipleAttribute Indicates that multiple instances of a custom attribute can be applied to a target.
AttributeUsageAttribute Specifies the use of another attribute.
ComposableAttribute Indicates how a programming element is composed.
DefaultAttribute Indicates the default interface for a runtime class.
DefaultOverloadAttribute Indicates that a method is the default overload method.
DeprecatedAttribute Indicates that a type or member should be marked in metadata as deprecated. Compilers and other developer tools can read this attribute and provide info to the user about the deprecation type and possible alternates.
DualApiPartitionAttribute Indicates that the type is supported in desktop apps and in Windows Store apps.
ExclusiveToAttribute Indicates that the specified type is exclusive to this type.
GCPressureAttribute Microsoft internal use only.
GuidAttribute Indicates the GUID for the interface or delegate.
HasVariantAttribute Indicates that the type is an instance of a variant IInspectable. Applies to runtime classes, interfaces, and parameterized interfaces.
LengthIsAttribute Indicates the number of array elements.
MarshalingBehaviorAttribute Indicates the marshaling behavior of a Windows Runtime component.
MuseAttribute Indicates that a runtime class is compatible with Windows Store app that are web browsers.
OverloadAttribute Identifies the method as an overload in a language that supports overloading.
OverridableAttribute Indicates that the interface contains overridable methods.
PlatformAttribute Declares the platform that a type should be supported in, when platform-specific metadata is produced.
ProtectedAttribute Indicates that the interface contains protected methods.
RangeAttribute Indicates the numeric range constraints for the value of a data field.
StaticAttribute Indicates an interface that contains only static methods.
ThreadingAttribute Indicates the threading model of a Windows Runtime component.
VariantAttribute Indicates that the item is an instance of a variant IInspectable. Applies to method parameters, properties, and return values of types.
VersionAttribute Indicates the version of the type.
WebHostHiddenAttribute Identifies the type as one whose functionality is not projected into the specified target language.

 

Énumérations

Windows.Foundation.MetadataEspace de noms possède ces énumérations.

ÉnumérationDescription
AttributeTargets Specifies the programming construct to which an attribute applies.
CompositionType Specifies the visibility of a programming element for which the composable attribute is applied.
DeprecationType Indicates a deprecation as Deprecate or Remove.
GCPressureAmount Microsoft internal use only.
MarshalingType Specifies the marshaling type for the class.
Platform Specifies the platforms that a specified type should be supported in, as used by Windows Runtime attributes and metadata.
ThreadingModel Specifies the threading model.

 

Conditions requises

Client minimal pris en charge

Windows 8

Serveur minimal pris en charge

Windows Server 2012

Téléphone minimal pris en charge

Windows Phone 8

Espace de noms

Windows.Foundation.Metadata
Windows::Foundation::Metadata [C++]

Métadonnées

Windows.winmd

Voir aussi

Windows.Foundation
Windows.Foundation.Collections
Windows.Foundation.Diagnostics

 

 

Afficher:
© 2016 Microsoft