CallSiteOps.Bind<T>(CallSiteBinder, CallSite<T>, Object[]) Metoda
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Przestroga
do not use this method
Aktualizacje obiekt docelowy witryny wywołania przy użyciu nowej reguły na podstawie argumentów.
Ten interfejs API obsługuje infrastrukturę produktu i nie jest przeznaczony do użycia bezpośrednio z poziomu kodu.
public:
generic <typename T>
where T : class static T Bind(System::Runtime::CompilerServices::CallSiteBinder ^ binder, System::Runtime::CompilerServices::CallSite<T> ^ site, cli::array <System::Object ^> ^ args);
[System.Obsolete("do not use this method", true)]
public static T Bind<T> (System.Runtime.CompilerServices.CallSiteBinder binder, System.Runtime.CompilerServices.CallSite<T> site, object[] args) where T : class;
[<System.Obsolete("do not use this method", true)>]
static member Bind : System.Runtime.CompilerServices.CallSiteBinder * System.Runtime.CompilerServices.CallSite<'T (requires 'T : null)> * obj[] -> 'T (requires 'T : null)
Public Shared Function Bind(Of T As Class) (binder As CallSiteBinder, site As CallSite(Of T), args As Object()) As T
Parametry typu
- T
Typ delegata obiektu CallSite.
Parametry
- binder
- CallSiteBinder
Binder lokacji wywołania.
- site
- CallSite<T>
Wystąpienie dynamicznej lokacji wywołań.
- args
- Object[]
Argumenty do lokacji wywołania.
Zwraca
Nowy element docelowy witryny wywołania.
- Atrybuty