EventAttributes Enumeration
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Specifies the attributes of an event.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
Namespace: System.ReflectionAssembly: mscorlib (in mscorlib.dll)
| Member name | Description | |
|---|---|---|
| None | Specifies that the event has no attributes. | |
| ReservedMask | Specifies a reserved flag for common language runtime use only. | |
| RTSpecialName | Specifies that the common language runtime should check name encoding. | |
| SpecialName | Specifies that the event is special in a way described by the name. |
The following example uses reflection emit to create a type with two events. It uses EventAttributes::None to specify that the events have no attributes.
Note: |
|---|
To run this example, see Building examples that have static TextBlock controls for Windows Phone 8. |
Note: