TypeExtensions.GetEvents Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetEvents(Type) | |
GetEvents(Type, BindingFlags) |
GetEvents(Type)
- Source:
- TypeExtensions.cs
- Source:
- TypeExtensions.cs
- Source:
- 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()
Parameters
- type
- Type
Returns
Applies to
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()
Parameters
- type
- Type
- bindingAttr
- BindingFlags
Returns
Applies to
Samarbejd med os på GitHub
Kilden til dette indhold kan findes på GitHub, hvor du også kan oprette og gennemse problemer og pullanmodninger. Du kan få flere oplysninger i vores vejledning til bidragydere.