Прочетете на английски Редактиране

Споделяне чрез


ComAwareEventInfo.GetOtherMethods(Boolean) Method

Definition

Returns the public or non-public methods that have been associated with an event in metadata.

C#
public override System.Reflection.MethodInfo[] GetOtherMethods(bool nonPublic);

Parameters

nonPublic
Boolean

true to include non-public methods; otherwise, false.

Returns

An array representing the methods that have been associated with the event in metadata. If there are no such methods, an empty array is returned.

Applies to

Продукт Версии
.NET Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10