共用方式為


IRemoteTypeContract.GetFields(BindingFlags) 方法

定義

傳回 IRemoteFieldInfoContract 物件的集合,這個集合可提供存取目前 IRemoteTypeContract 的指定欄位。

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

參數

bindingFlags
BindingFlags

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

傳回

IArrayContract<C> 物件的 IRemoteFieldInfoContract,可提供存取符合指定之繫結條件約束的欄位,否則為空白 IArrayContract<C>

適用於