共用方式為


IRemoteTypeContract.GetMethods(BindingFlags) 方法

定義

傳回 IRemoteMethodInfoContract 物件的集合,這個集合可提供存取目前 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)

參數

bindingFlags
BindingFlags

BindingFlags 值的位元組合,指定搜尋方法的方式。

傳回

IArrayContract<C> 物件的 IRemoteMethodInfoContract,可提供存取符合指定之繫結條件約束的方法。

適用於