IRemoteTypeContract.GetEvent(String, 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 an IRemoteEventInfoContract that provides access to a specified event of the current IRemoteTypeContract.
public:
System::AddIn::Contract::Automation::IRemoteEventInfoContract ^ GetEvent(System::String ^ name, System::Reflection::BindingFlags bindingFlags);
public System.AddIn.Contract.Automation.IRemoteEventInfoContract GetEvent (string name, System.Reflection.BindingFlags bindingFlags);
abstract member GetEvent : string * System.Reflection.BindingFlags -> System.AddIn.Contract.Automation.IRemoteEventInfoContract
Public Function GetEvent (name As String, bindingFlags As BindingFlags) As IRemoteEventInfoContract
Parameters
- name
- String
The name of an event of the current IRemoteTypeContract.
- bindingFlags
- BindingFlags
A bitwise combination of the BindingFlags values that specifies how to search for the event.
Returns
An IRemoteEventInfoContract that provides access to the specified event, if found; otherwise, null
.
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.