Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

EventInfo::MemberType Property

 

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

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

public:
property MemberTypes MemberType {
	virtual MemberTypes get() override;
}

Property Value

Type: System.Reflection::MemberTypes

A MemberTypes 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.

.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show:
© 2017 Microsoft