System.Reflection.EventInfo.GetOtherMethods Method

Returns the public methods that have been associated with an event in metadata using the .other directive.

Syntax

public MethodInfo[] GetOtherMethods ()

Returns

An array of System.Reflection.EventInfo objects representing the public methods that have been associated with the event in metadata by using the .other directive. If there are no such public methods, an empty array is returned.

Remarks

The metadata for an event can associate four kinds of methods with the event:

The methods associated with an event using the .other directive have no special significance to the runtime. The C# and Visual Basic compilers do not use the .other directive.

Requirements

Namespace: System.Reflection
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0