Share via


FeatureAttribute Class

Definition

Expresses the state of the Windows Runtime feature associated with a Windows Runtime Type.

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
Inheritance
FeatureAttribute
Attributes

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.FoundationContract (introduced in v3.0)

Remarks

This attribute is used for Microsoft internal prerelease build tracking and is only included here for completeness.

Constructors

FeatureAttribute(FeatureStage, Boolean)

Creates and initializes a new instance of the attribute.

Applies to