CallSiteOps.Bind<T>(CallSiteBinder, CallSite<T>, Object[]) Metoda

Definicja

Przestroga

do not use this method

Aktualizuje miejsce docelowe witryny wywołania z nową regułą opartą na argumentach.

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 CallSite .

Parametry

binder
CallSiteBinder

Spinacz odwołujący się do witryny.

site
CallSite<T>

Wystąpienie lokacji wywołania dynamicznego.

args
Object[]

Argumenty do witryny wywołania.

Zwraca

T

Nowy obiekt docelowy wywołania.

Atrybuty

Dotyczy