IRemoteTypeContract.GetFields(BindingFlags) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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>.