IRemoteTypeContract.GetField(String, 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 an IRemoteFieldInfoContract that provides access to a specified field of the current IRemoteTypeContract.
public:
System::AddIn::Contract::Automation::IRemoteFieldInfoContract ^ GetField(System::String ^ name, System::Reflection::BindingFlags bindingFlags);
public System.AddIn.Contract.Automation.IRemoteFieldInfoContract GetField (string name, System.Reflection.BindingFlags bindingFlags);
abstract member GetField : string * System.Reflection.BindingFlags -> System.AddIn.Contract.Automation.IRemoteFieldInfoContract
Public Function GetField (name As String, bindingFlags As BindingFlags) As IRemoteFieldInfoContract
Parameters
- name
- String
The name of a field of the current IRemoteTypeContract.
- bindingFlags
- BindingFlags
A bitwise combination of the BindingFlags values that specifies how to search for the field.
Returns
An IRemoteFieldInfoContract that provides access to the specified field, if found; otherwise, null
.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.