FeatureAttribute FeatureAttribute FeatureAttribute FeatureAttribute Class

Definition

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

public : sealed class FeatureAttribute : Attributepublic sealed class FeatureAttribute : AttributePublic NotInheritable Class FeatureAttribute Inherits Attribute// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.FoundationContract (introduced v3)

Remarks

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

Constructors

FeatureAttribute(FeatureStage, Boolean) FeatureAttribute(FeatureStage, Boolean) FeatureAttribute(FeatureStage, Boolean) FeatureAttribute(FeatureStage, Boolean)

Creates and initializes a new instance of the attribute.

public : FeatureAttribute(FeatureStage featureStage, bool validInAllBranches)public FeatureAttribute(FeatureStage featureStage, Boolean validInAllBranches)Public Sub New(featureStage As FeatureStage, validInAllBranches As Boolean)// You can use this method in JavaScript.
Parameters
featureStage
FeatureStage FeatureStage FeatureStage FeatureStage

Specifies if the named feature is enabled or disabled.

validInAllBranches
bool Boolean Boolean Boolean

Boolean value that indicates if the named feature is valid in all branches.