FeatureAttribute Classe

Définition

Exprime l’état de la fonctionnalité Windows Runtime associée à un type Windows Runtime.

public ref class FeatureAttribute sealed : Attribute
/// [Windows.Foundation.Metadata.AttributeUsage(System.AttributeTargets.Delegate | System.AttributeTargets.Enum | System.AttributeTargets.Field | System.AttributeTargets.Interface | System.AttributeTargets.InterfaceImpl | System.AttributeTargets.Method | System.AttributeTargets.RuntimeClass | System.AttributeTargets.Struct)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.FoundationContract, 196608)]
class FeatureAttribute final : Attribute
[Windows.Foundation.Metadata.AttributeUsage(System.AttributeTargets.Delegate | System.AttributeTargets.Enum | System.AttributeTargets.Field | System.AttributeTargets.Interface | System.AttributeTargets.InterfaceImpl | System.AttributeTargets.Method | System.AttributeTargets.RuntimeClass | System.AttributeTargets.Struct)]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.FoundationContract), 196608)]
public sealed class FeatureAttribute : Attribute
function FeatureAttribute(featureStage, validInAllBranches)
Public NotInheritable Class FeatureAttribute
Inherits Attribute
Héritage
FeatureAttribute
Attributs

Configuration requise pour Windows

Famille d’appareils
Windows 10 Creators Update (introduit dans 10.0.15063.0)
API contract
Windows.Foundation.FoundationContract (introduit dans v3.0)

Remarques

Cet attribut est utilisé pour le suivi de build de la préversion interne Microsoft et n’est inclus ici qu’à des fins d’exhaustivité.

Constructeurs

FeatureAttribute(FeatureStage, Boolean)

Crée et initialise une nouvelle instance de l’attribut.

S’applique à