共用方式為


FeatureAttribute 類別

定義

表示與Windows 執行階段類型相關聯的Windows 執行階段功能狀態。

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
繼承
FeatureAttribute
屬性

Windows 需求

裝置系列
Windows 10 Creators Update (已於 10.0.15063.0 引進)
API contract
Windows.Foundation.FoundationContract (已於 v3.0 引進)

備註

這個屬性用於 Microsoft 內部發行前版本組建追蹤,而且只包含在這裡以取得完整性。

建構函式

FeatureAttribute(FeatureStage, Boolean)

建立並初始化 屬性的新實例。

適用於