CallSiteOps.Bind<T>(CallSiteBinder, CallSite<T>, Object[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
do not use this method
Updates the call site target with a new rule based on the arguments.
This API supports the product infrastructure and is not intended to be used directly from your code.
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
Type Parameters
- T
The type of the delegate of the CallSite.
Parameters
- binder
- CallSiteBinder
The call site binder.
- site
- CallSite<T>
An instance of the dynamic call site.
- args
- Object[]
Arguments to the call site.
Returns
T
The new call site target.
- Attributes
Applies to
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.