IRemoteTypeContract.GetMethod Method (String, BindingFlags, IArrayContract<IRemoteTypeContract>)

 

Returns an IRemoteMethodInfoContract that provides access to a specified method of the current IRemoteTypeContract.

Namespace:   System.AddIn.Contract.Automation
Assembly:  System.AddIn.Contract (in System.AddIn.Contract.dll)

IRemoteMethodInfoContract GetMethod(
	string name,
	BindingFlags bindingFlags,
	IArrayContract<IRemoteTypeContract> remoteTypes
)

Parameters

name
Type: System.String

The name of a method of the current IRemoteTypeContract.

bindingFlags
Type: System.Reflection.BindingFlags

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

remoteTypes
Type: System.AddIn.Contract.Collections.IArrayContract<IRemoteTypeContract>

An IArrayContract<C> of IRemoteTypeContract objects that represent the number, order, and type of the parameters for the method to get.

Return Value

Type: System.AddIn.Contract.Automation.IRemoteMethodInfoContract

An IRemoteMethodInfoContract that provides access to the specified method, if found; otherwise, null.

.NET Framework
Available since 3.5
Return to top
Show: