IRemoteTypeContract.GetProperty Metodo

Definizione

Restituisce un oggetto IRemotePropertyInfoContract che fornisce l'accesso a una proprietà specificata dell'oggetto corrente IRemoteTypeContract.

public:
 System::AddIn::Contract::Automation::IRemotePropertyInfoContract ^ GetProperty(System::String ^ name, System::Reflection::BindingFlags bindingFlags, System::AddIn::Contract::Automation::IRemoteTypeContract ^ remoteReturnType, System::AddIn::Contract::Collections::IArrayContract<System::AddIn::Contract::Automation::IRemoteTypeContract ^> ^ remoteTypes);
public System.AddIn.Contract.Automation.IRemotePropertyInfoContract GetProperty(string name, System.Reflection.BindingFlags bindingFlags, System.AddIn.Contract.Automation.IRemoteTypeContract remoteReturnType, System.AddIn.Contract.Collections.IArrayContract<System.AddIn.Contract.Automation.IRemoteTypeContract> remoteTypes);
abstract member GetProperty : string * System.Reflection.BindingFlags * System.AddIn.Contract.Automation.IRemoteTypeContract * System.AddIn.Contract.Collections.IArrayContract<System.AddIn.Contract.Automation.IRemoteTypeContract> -> System.AddIn.Contract.Automation.IRemotePropertyInfoContract
Public Function GetProperty (name As String, bindingFlags As BindingFlags, remoteReturnType As IRemoteTypeContract, remoteTypes As IArrayContract(Of IRemoteTypeContract)) As IRemotePropertyInfoContract

Parametri

name
String

Nome di una proprietà dell'oggetto corrente IRemoteTypeContract.

bindingFlags
BindingFlags

Combinazione bit per bit dei BindingFlags valori che specifica come cercare il metodo .

remoteReturnType
IRemoteTypeContract

Oggetto IRemoteTypeContract che specifica il tipo restituito della proprietà.

remoteTypes
IArrayContract<IRemoteTypeContract>

Oggetto IArrayContract<C> di IRemoteTypeContract oggetti che rappresentano i parametri per la proprietà specificata.

Valori restituiti

Oggetto IRemotePropertyInfoContract che fornisce l'accesso alla proprietà specificata, se presente; in caso contrario, null.

Si applica a