CallSiteOps.Bind<T>(CallSiteBinder, CallSite<T>, Object[]) Metódus
Definíció
Fontos
Egyes információk olyan, kiadás előtti termékekre vonatkoznak, amelyek a kiadásig még jelentősen módosulhatnak. A Microsoft nem vállal kifejezett vagy törvényi garanciát az itt megjelenő információért.
Figyelemfelhívás
do not use this method
Az argumentumok alapján egy új szabálysal frissíti a híváswebhely célhelyét.
Ez az API a termékinfrastruktúrát támogatja, és közvetlenül a kódból nem használható.
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
Típusparaméterek
- T
A delegált CallSitetípusa.
Paraméterek
- binder
- CallSiteBinder
A hívás helykötője.
- site
- CallSite<T>
A dinamikus híváswebhely egy példánya.
- args
- Object[]
A híváswebhely argumentumai.
Válaszok
Az új híváshely célhelye.
- Attribútumok