TypeInfo.GetEvent 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
GetEvent(String) | |
GetEvent(String, BindingFlags) |
GetEvent(String)
GetEvent(String, BindingFlags)
public:
virtual System::Reflection::EventInfo ^ GetEvent(System::String ^ name, System::Reflection::BindingFlags bindingAttr);
public virtual System.Reflection.EventInfo GetEvent (string name, System.Reflection.BindingFlags bindingAttr);
abstract member GetEvent : string * System.Reflection.BindingFlags -> System.Reflection.EventInfo
override this.GetEvent : string * System.Reflection.BindingFlags -> System.Reflection.EventInfo
Public Overridable Function GetEvent (name As String, bindingAttr As BindingFlags) As EventInfo
参数
- name
- String
- bindingAttr
- BindingFlags