Windows.Foundation.Metadata
Windows.Foundation.Metadata
Windows.Foundation.Metadata
Windows.Foundation.Metadata
Namespace
Defines the attributes that indicate fundamental properties of Windows Runtime types and members.
Classes
| ActivatableAttribute ActivatableAttribute ActivatableAttribute ActivatableAttribute |
Indicates that the class is an activatable runtime class. |
| AllowForWebAttribute AllowForWebAttribute AllowForWebAttribute AllowForWebAttribute |
Enables developers to expose a native Universal Windows Platform (UWP) object as a global parameter in the context of the top-level document inside of a WebView. For a Universal Windows Platform (UWP) object to be projected, it must implement IAgileObject and be decorated with the AllowForWebAttribute attribute. |
| AllowMultipleAttribute AllowMultipleAttribute AllowMultipleAttribute AllowMultipleAttribute |
Indicates that multiple instances of a custom attribute can be applied to a target. |
| ApiContractAttribute ApiContractAttribute ApiContractAttribute ApiContractAttribute |
Specifies that the type represents an API contract. |
| ApiInformation ApiInformation ApiInformation ApiInformation |
Enables you to detect whether a specified member, type, or API contract is present so that you can safely make API calls across a variety of devices. |
| AttributeUsageAttribute AttributeUsageAttribute AttributeUsageAttribute AttributeUsageAttribute |
Specifies the use of another attribute.
|
| ComposableAttribute ComposableAttribute ComposableAttribute ComposableAttribute |
Indicates how a programming element is composed. |
| ContractVersionAttribute ContractVersionAttribute ContractVersionAttribute ContractVersionAttribute |
Indicates the version of the API contract. |
| CreateFromStringAttribute CreateFromStringAttribute CreateFromStringAttribute CreateFromStringAttribute |
Create from string attribute. |
| DefaultAttribute DefaultAttribute DefaultAttribute DefaultAttribute |
Indicates the default interface for a runtime class. |
| DefaultOverloadAttribute DefaultOverloadAttribute DefaultOverloadAttribute DefaultOverloadAttribute |
Indicates that a method is the default overload method. This attribute must be used with OverloadAttribute. |
| DeprecatedAttribute DeprecatedAttribute DeprecatedAttribute 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 DualApiPartitionAttribute DualApiPartitionAttribute DualApiPartitionAttribute |
Indicates that the type is supported in desktop apps and in Windows Store apps. |
| ExclusiveToAttribute ExclusiveToAttribute ExclusiveToAttribute ExclusiveToAttribute |
Indicates that the specified type is exclusive to this type. |
| ExperimentalAttribute ExperimentalAttribute ExperimentalAttribute ExperimentalAttribute |
Indicates that a type or member should be marked in metadata as experimental, and consequently may not be present in the final, released version of an SDK or library. |
| FeatureAttribute FeatureAttribute FeatureAttribute FeatureAttribute |
Expresses the state of the Windows Runtime feature associated with a Windows Runtime Type. |
| GCPressureAttribute GCPressureAttribute GCPressureAttribute GCPressureAttribute |
Microsoft internal use only. |
| GuidAttribute GuidAttribute GuidAttribute GuidAttribute |
Indicates the GUID for the interface or delegate. |
| HasVariantAttribute HasVariantAttribute HasVariantAttribute HasVariantAttribute |
Indicates that the type is an instance of a variant IInspectable. Applies to runtime classes, interfaces, and parameterized interfaces. |
| InternalAttribute InternalAttribute InternalAttribute InternalAttribute |
Indicates that a type or member should be marked in metadata as internal to the SDK or framework, and for consumption by system components only. |
| LengthIsAttribute LengthIsAttribute LengthIsAttribute LengthIsAttribute |
Indicates the number of array elements. |
| MarshalingBehaviorAttribute MarshalingBehaviorAttribute MarshalingBehaviorAttribute MarshalingBehaviorAttribute |
Indicates the marshaling behavior of a Windows Runtime component. |
| MetadataMarshalAttribute MetadataMarshalAttribute MetadataMarshalAttribute MetadataMarshalAttribute |
Indicates that tools should create an entry for an interface when creating an application package. |
| MuseAttribute MuseAttribute MuseAttribute MuseAttribute |
Indicates that a runtime class is compatible with Windows Store app that are web browsers. |
| OverloadAttribute OverloadAttribute OverloadAttribute OverloadAttribute |
Identifies the method as an overload in a language that supports overloading. |
| OverridableAttribute OverridableAttribute OverridableAttribute OverridableAttribute |
Indicates that the interface contains overridable methods. |
| PlatformAttribute PlatformAttribute PlatformAttribute PlatformAttribute |
Declares the platform that a type should be supported in, when platform-specific metadata is produced. |
| PreviousContractVersionAttribute PreviousContractVersionAttribute PreviousContractVersionAttribute PreviousContractVersionAttribute |
Indicates that the type was previously associated with a different API contract. |
| ProtectedAttribute ProtectedAttribute ProtectedAttribute ProtectedAttribute |
Indicates that the interface contains protected methods. |
| RangeAttribute RangeAttribute RangeAttribute RangeAttribute |
Indicates the numeric range constraints for the value of a data field. |
| RemoteAsyncAttribute RemoteAsyncAttribute RemoteAsyncAttribute RemoteAsyncAttribute |
Indicates that an interface can be delivered using an asynchronous form of the Async pattern. |
| StaticAttribute StaticAttribute StaticAttribute StaticAttribute |
Indicates an interface that contains only static methods. |
| ThreadingAttribute ThreadingAttribute ThreadingAttribute ThreadingAttribute |
Indicates the threading model of a Windows Runtime component. |
| VariantAttribute VariantAttribute VariantAttribute VariantAttribute |
Indicates that the item is an instance of a variant IInspectable. Applies to method parameters, properties, and return values of types. |
| VersionAttribute VersionAttribute VersionAttribute VersionAttribute |
Indicates the version of the type. |
| WebHostHiddenAttribute WebHostHiddenAttribute WebHostHiddenAttribute WebHostHiddenAttribute |
Identifies the type as one whose functionality is not projected into the specified target language. |
Enums
| AttributeTargets AttributeTargets AttributeTargets AttributeTargets |
Specifies the programming construct to which an attribute applies.
|
| CompositionType CompositionType CompositionType CompositionType |
Specifies the visibility of a programming element for which the composable attribute is applied. |
| DeprecationType DeprecationType DeprecationType DeprecationType |
Indicates a deprecation as Deprecate or Remove. |
| FeatureStage FeatureStage FeatureStage FeatureStage |
Values that indicate if a Windows feature is enabled or disabled. |
| GCPressureAmount GCPressureAmount GCPressureAmount GCPressureAmount |
Microsoft internal use only. |
| MarshalingType MarshalingType MarshalingType MarshalingType |
Specifies the marshaling type for the class. |
| Platform Platform Platform Platform |
Specifies the platforms that a specified type should be supported in, as used by Windows Runtime attributes and metadata. |
| ThreadingModel ThreadingModel ThreadingModel ThreadingModel |
Specifies the threading model. |