Share via


IRemoteTypeContract.GetProperty Methode

Definition

Gibt einen IRemotePropertyInfoContract zurück, der Zugriff auf eine angegebene Eigenschaft des aktuellen IRemoteTypeContract bereitstellt.

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

Parameter

name
String

Der Name einer Eigenschaft des aktuellen IRemoteTypeContract.

bindingFlags
BindingFlags

Eine bitweise Kombination der BindingFlags-Werte, die angibt, wie nach der Methode gesucht werden soll.

remoteReturnType
IRemoteTypeContract

Ein IRemoteTypeContract, der den Rückgabetyp der Eigenschaft angibt.

remoteTypes
IArrayContract<IRemoteTypeContract>

Ein IArrayContract<C> von IRemoteTypeContract-Objekten, die die Parameter für die angegebene Eigenschaft darstellen.

Gibt zurück

Ein IRemotePropertyInfoContract, der Zugriff auf die angegebene Eigenschaft bereitstellt, sofern diese gefunden wird, andernfalls null.

Gilt für: