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
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.