TypeInfo.GetEvent Méthode
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
public:
System::Reflection::EventInfo ^ GetEvent(System::String ^ name);
C#
public System.Reflection.EventInfo GetEvent(string name);
member this.GetEvent : string -> System.Reflection.EventInfo
Public Function GetEvent (name As String) As EventInfo
Paramètres
- name
- String
Retours
S’applique à
.NET Core 1.1 et autres versions
Produit | Versions |
---|---|
.NET | Core 1.0, Core 1.1 |
.NET Standard | 1.5, 1.6 |
public:
virtual System::Reflection::EventInfo ^ GetEvent(System::String ^ name, System::Reflection::BindingFlags bindingAttr);
C#
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
Paramètres
- name
- String
- bindingAttr
- BindingFlags
Retours
S’applique à
.NET Core 1.1 et autres versions
Produit | Versions |
---|---|
.NET | Core 1.0, Core 1.1 |
.NET Standard | 1.5, 1.6 |
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.
Commentaires sur .NET
.NET est un projet open source. Sélectionnez un lien pour fournir des commentaires :