EventAttributes Enumeration
TOC
Collapse the table of content
Expand the table of content

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.Reflection
Assembly:  mscorlib (in mscorlib.dll)

No code example is currently available or this language may not be supported.

Member nameDescription
NoneSpecifies that the event has no attributes.
ReservedMaskSpecifies a reserved flag for common language runtime use only.
RTSpecialNameSpecifies that the common language runtime should check name encoding.
SpecialNameSpecifies that the event is special in a way described by the name.

EventAttributes values may be combined using the bitwise OR operation to get the appropriate combination.

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.

No code example is currently available or this language may not be supported.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft