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
Співпраця з нами на GitHub
Джерело цього вмісту можна знайти на GitHub, де також можна створювати й переглядати запитання та запити на внесення змін. Докладні відомості наведено в нашому посібнику для співавторів.