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

定义

注意

do not use this method

基于参数使用新规则更新调用站点目标。

此 API 支持产品基础结构,不能在代码中直接使用。

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

CallSite 的委托的类型。

参数

binder
CallSiteBinder

调用站点活页夹。

site
CallSite<T>

动态调用站点的实例。

args
Object[]

调用站点的参数。

返回

T

新的调用站点目标。

属性

适用于