Specifies the programming construct to which an attribute applies.
[FlagsAttribute]
public enum class AttributeTargets
| Member | Value | Description |
|---|---|---|
| All | 4294967295 | The attribute applies to all programming constructs. |
| Delegate | 1 | The attribute applies to a delegate. |
| Enum | 2 | The attribute applies to an enumeration. |
| Event | 4 | The attribute applies to an event. |
| Field | 8 | The attribute applies to a field. |
| Interface | 16 | The attribute applies to an interface. |
| InterfaceImpl | 2048 | The attribute applies to an implementation of an interface. |
| Method | 64 | The attribute applies to a method. |
| Parameter | 128 | The attribute applies to a parameter. |
| Property | 256 | The attribute applies to a property. |
| RuntimeClass | 512 | The attribute applies to a runtime class. |
| Struct | 1024 | The attribute applies to a struct. |
Namespace: Windows.Foundation.Metadata
Metadata: windows.winmd