Bewerken

Delen via


IRemoteTypeContract.GetMethods(BindingFlags) Method

Definition

Returns a collection of IRemoteMethodInfoContract objects that provides access to the specified methods of the current IRemoteTypeContract.

public:
 System::AddIn::Contract::Collections::IArrayContract<System::AddIn::Contract::Automation::IRemoteMethodInfoContract ^> ^ GetMethods(System::Reflection::BindingFlags bindingFlags);
public System.AddIn.Contract.Collections.IArrayContract<System.AddIn.Contract.Automation.IRemoteMethodInfoContract> GetMethods (System.Reflection.BindingFlags bindingFlags);
abstract member GetMethods : System.Reflection.BindingFlags -> System.AddIn.Contract.Collections.IArrayContract<System.AddIn.Contract.Automation.IRemoteMethodInfoContract>
Public Function GetMethods (bindingFlags As BindingFlags) As IArrayContract(Of IRemoteMethodInfoContract)

Parameters

bindingFlags
BindingFlags

A bitwise combination of the BindingFlags values that specifies how to search for the methods.

Returns

An IArrayContract<C> of IRemoteMethodInfoContract objects that provides access to the methods that match the specified binding constraints.

Applies to