FeatureAttribute Kelas

Definisi

Mengekspresikan status fitur Windows Runtime yang terkait dengan Jenis 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
Warisan
FeatureAttribute
Atribut

Persyaratan Windows

Rangkaian perangkat
Windows 10 Creators Update (diperkenalkan dalam 10.0.15063.0)
API contract
Windows.Foundation.FoundationContract (diperkenalkan dalam v3.0)

Keterangan

Atribut ini digunakan untuk pelacakan build prarilis internal Microsoft dan hanya disertakan di sini untuk kelengkapan.

Konstruktor

FeatureAttribute(FeatureStage, Boolean)

Membuat dan menginisialisasi instans baru atribut.

Berlaku untuk