Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CallSiteBinder::BindDelegate<T> Method (CallSite<T>^, array<Object^>^)

 

Provides low-level runtime binding support. Classes can override this and provide a direct delegate for the implementation of rule. This can enable saving rules to disk, having specialized rules available at runtime, or providing a different caching policy.

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

public:
generic<typename T>
where T : ref class
virtual T BindDelegate(
	CallSite<T>^ site,
	array<Object^>^ args
)

Parameters

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

The CallSite the bind is being performed for.

args
Type: array<System::Object^>^

The arguments for the binder.

Return Value

Type: T

A new delegate which replaces the CallSite Target.

Type Parameters

T

The target type of the CallSite.

Universal Windows Platform
Available since 8
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 4.0
Windows Phone Silverlight
Available since 8.0
Windows Phone
Available since 8.1
Return to top
Show:
© 2017 Microsoft