FeatureAttribute FeatureAttribute FeatureAttribute FeatureAttribute FeatureAttribute Class

Definition

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

public : sealed class FeatureAttribute : Attribute
struct winrt::Windows::Foundation::Metadata::FeatureAttribute : Attribute
public sealed class FeatureAttribute : Attribute
Public NotInheritable Class FeatureAttribute Inherits Attribute
var featureAttribute = new featureAttribute(featureStage, validInAllBranches);
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) FeatureAttribute(FeatureStage, Boolean)

Creates and initializes a new instance of the attribute.