Editare

Partajați prin


IRemoteTypeContract.GetFields(BindingFlags) Method

Definition

Returns a collection of IRemoteFieldInfoContract objects that provides access to the specified fields of the current 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)

Parameters

bindingFlags
BindingFlags

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

Returns

An IArrayContract<C> of IRemoteFieldInfoContract objects that provides access to the fields that match the specified binding constraints; otherwise, an empty IArrayContract<C>.

Applies to