TypeExtensions.GetEvents 方法

定义

重载

GetEvents(Type)
GetEvents(Type, BindingFlags)

GetEvents(Type)

Source:
TypeExtensions.cs
Source:
TypeExtensions.cs
Source:
TypeExtensions.cs
public:
[System::Runtime::CompilerServices::Extension]
 static cli::array <System::Reflection::EventInfo ^> ^ GetEvents(Type ^ type);
public static System.Reflection.EventInfo[] GetEvents (this Type type);
static member GetEvents : Type -> System.Reflection.EventInfo[]
<Extension()>
Public Function GetEvents (type As Type) As EventInfo()

参数

type
Type

返回

适用于

GetEvents(Type, BindingFlags)

Source:
TypeExtensions.cs
Source:
TypeExtensions.cs
Source:
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

返回

适用于