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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om