Edit

Share via


IRemoteTypeContract.GetField(String, BindingFlags) Method

Definition

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