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


TypeExtensions.GetEvents Метод

Определение

Перегрузки

GetEvents(Type)
GetEvents(Type, BindingFlags)

GetEvents(Type)

Исходный код:
TypeExtensions.cs
Исходный код:
TypeExtensions.cs
Исходный код:
TypeExtensions.cs
public:
 static cli::array <System::Reflection::EventInfo ^> ^ GetEvents(Type ^ type);
public static System.Reflection.EventInfo[] GetEvents (Type type);
static member GetEvents : Type -> System.Reflection.EventInfo[]
Public Shared Function GetEvents (type As Type) As EventInfo()

Параметры

type
Type

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

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

GetEvents(Type, BindingFlags)

Исходный код:
TypeExtensions.cs
Исходный код:
TypeExtensions.cs
Исходный код:
TypeExtensions.cs
public:
[System::Runtime::CompilerServices::Extension]
 static cli::array <System::Reflection::EventInfo ^> ^ GetEvents(Type ^ type, System::Reflection::BindingFlags bindingAttr);
public static System.Reflection.EventInfo[] GetEvents (this Type type, System.Reflection.BindingFlags bindingAttr);
static member GetEvents : Type * System.Reflection.BindingFlags -> System.Reflection.EventInfo[]
<Extension()>
Public Function GetEvents (type As Type, bindingAttr As BindingFlags) As EventInfo()

Параметры

type
Type
bindingAttr
BindingFlags

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

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