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
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.