IRemoteTypeContract.GetEvents(BindingFlags) 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.
Returns a collection of IRemoteEventInfoContract objects that provides access to the specified events of the current IRemoteTypeContract.
public:
System::AddIn::Contract::Collections::IArrayContract<System::AddIn::Contract::Automation::IRemoteEventInfoContract ^> ^ GetEvents(System::Reflection::BindingFlags bindingFlags);
public System.AddIn.Contract.Collections.IArrayContract<System.AddIn.Contract.Automation.IRemoteEventInfoContract> GetEvents (System.Reflection.BindingFlags bindingFlags);
abstract member GetEvents : System.Reflection.BindingFlags -> System.AddIn.Contract.Collections.IArrayContract<System.AddIn.Contract.Automation.IRemoteEventInfoContract>
Public Function GetEvents (bindingFlags As BindingFlags) As IArrayContract(Of IRemoteEventInfoContract)
Parameters
- bindingFlags
- BindingFlags
A bitwise combination of the BindingFlags values that specifies how to search for the events.
Returns
An IArrayContract<C> of IRemoteEventInfoContract objects that provides access to the events that match the specified binding constraints; otherwise, an empty IArrayContract<C>.
Applies to
Tilbakemeldinger
https://aka.ms/ContentUserFeedback.
Kommer snart: Gjennom 2024 faser vi ut GitHub Issues som tilbakemeldingsmekanisme for innhold, og erstatter det med et nytt system for tilbakemeldinger. Hvis du vil ha mer informasjon, kan du se:Send inn og vis tilbakemelding for