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

 
Note: This API is now obsolete.

This API supports the product infrastructure and is not intended to be used directly from your code.

Updates the call site target with a new rule based on the arguments.

Namespace:   System.Runtime.CompilerServices
Assembly:  System.Core (in System.Core.dll)

[ObsoleteAttribute("do not use this method", true)]
public static T Bind<T>(
	CallSiteBinder binder,
	CallSite<T> site,
	object[] args
)
where T : class

Parameters

binder
Type: System.Runtime.CompilerServices.CallSiteBinder

The call site binder.

site
Type: System.Runtime.CompilerServices.CallSite<T>

An instance of the dynamic call site.

args
Type: System.Object[]

Arguments to the call site.

Return Value

Type: T

The new call site target.

Type Parameters

T

The type of the delegate of the CallSite.

.NET Framework
Available since 4.0
Silverlight
Available since 4.0
Return to top
Show: