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


TypeInfo.GetEvent Метод

Определение

Перегрузки

GetEvent(String)
GetEvent(String, BindingFlags)

GetEvent(String)

public:
 System::Reflection::EventInfo ^ GetEvent(System::String ^ name);
public System.Reflection.EventInfo GetEvent (string name);
member this.GetEvent : string -> System.Reflection.EventInfo
Public Function GetEvent (name As String) As EventInfo

Параметры

name
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

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

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