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>.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för