Freigeben über


AttributeNameAttribute Klasse

Definition

Gibt den Namen des Attributs an.

public ref class AttributeNameAttribute sealed : Attribute
/// [Windows.Foundation.Metadata.AttributeUsage(System.AttributeTargets.RuntimeClass)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.FoundationContract, 262144)]
class AttributeNameAttribute final : Attribute
[Windows.Foundation.Metadata.AttributeUsage(System.AttributeTargets.RuntimeClass)]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.FoundationContract), 262144)]
public sealed class AttributeNameAttribute : Attribute
function AttributeNameAttribute(A_0)
Public NotInheritable Class AttributeNameAttribute
Inherits Attribute
Vererbung
AttributeNameAttribute
Attribute

Windows-Anforderungen

Anforderungen Beschreibung
Gerätefamilie
Windows 10, version 2004 (eingeführt in 10.0.19041.0)
API contract
Windows.Foundation.FoundationContract (eingeführt in v4.0)

Konstruktoren

Name Beschreibung
AttributeNameAttribute(String)

Erstellt und initialisiert eine neue instance des Attributs.

Gilt für: