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
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.