Прочитать на английском

Поделиться через


EventInfoExtensions.GetRemoveMethod Метод

Определение

Перегрузки

GetRemoveMethod(EventInfo)

Исходный код:
TypeExtensions.cs
Исходный код:
TypeExtensions.cs
Исходный код:
TypeExtensions.cs
public static System.Reflection.MethodInfo GetRemoveMethod (this System.Reflection.EventInfo eventInfo);
public static System.Reflection.MethodInfo? GetRemoveMethod (this System.Reflection.EventInfo eventInfo);

Параметры

eventInfo
EventInfo

Возвращаемое значение

Применяется к

.NET 9 и другие версии
Продукт Версии
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
UWP 10.0

GetRemoveMethod(EventInfo, Boolean)

Исходный код:
TypeExtensions.cs
Исходный код:
TypeExtensions.cs
Исходный код:
TypeExtensions.cs
public static System.Reflection.MethodInfo GetRemoveMethod (this System.Reflection.EventInfo eventInfo, bool nonPublic);
public static System.Reflection.MethodInfo? GetRemoveMethod (this System.Reflection.EventInfo eventInfo, bool nonPublic);

Параметры

eventInfo
EventInfo
nonPublic
Boolean

Возвращаемое значение

Применяется к

.NET 9 и другие версии
Продукт Версии
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
UWP 10.0