Szerkesztés

Megosztás a következőn keresztül:


EventInfo.MemberType Property

Definition

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

public:
 virtual property System::Reflection::MemberTypes MemberType { System::Reflection::MemberTypes get(); };
public override System.Reflection.MemberTypes MemberType { get; }
member this.MemberType : System.Reflection.MemberTypes
Public Overrides ReadOnly Property MemberType As MemberTypes

Property Value

A MemberTypes value indicating that this member is an event.

Implements

Remarks

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.

Applies to

See also