MemberType Property
Collapse the table of content
Expand the table of content

EventInfo.MemberType Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets a MemberTypes value indicating that this member is an event.

Namespace:  System.Reflection
Assembly:  mscorlib (in mscorlib.dll)

public override MemberTypes MemberType { get; }

Property Value

Type: System.Reflection.MemberTypes
A value indicating that this member is an event.

This property overrides MemberType. Therefore, when you examine a set of MemberInfo objects — for example, the array returned by GetMembers — the MemberType property returns MemberTypes.Event only when a given member is an event.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft