Bagikan melalui


Binder.Invoke Metode

Definisi

Menginisialisasi pengikat pemanggilan CSharp baru.

API ini mendukung infrastruktur produk dan tidak dimaksudkan untuk digunakan langsung dari kode Anda.

public:
 static System::Runtime::CompilerServices::CallSiteBinder ^ Invoke(Microsoft::CSharp::RuntimeBinder::CSharpBinderFlags flags, Type ^ context, System::Collections::Generic::IEnumerable<Microsoft::CSharp::RuntimeBinder::CSharpArgumentInfo ^> ^ argumentInfo);
public static System.Runtime.CompilerServices.CallSiteBinder Invoke (Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags flags, Type context, System.Collections.Generic.IEnumerable<Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo> argumentInfo);
public static System.Runtime.CompilerServices.CallSiteBinder Invoke (Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags flags, Type? context, System.Collections.Generic.IEnumerable<Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo>? argumentInfo);
static member Invoke : Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags * Type * seq<Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo> -> System.Runtime.CompilerServices.CallSiteBinder
Public Shared Function Invoke (flags As CSharpBinderFlags, context As Type, argumentInfo As IEnumerable(Of CSharpArgumentInfo)) As CallSiteBinder

Parameter

flags
CSharpBinderFlags

Bendera untuk menginisialisasi pengikat.

context
Type

Type yang menunjukkan di mana operasi ini digunakan.

argumentInfo
IEnumerable<CSharpArgumentInfo>

Urutan CSharpArgumentInfo instans untuk argumen untuk operasi ini.

Mengembalikan

CSharp baru memanggil pengikat.

Berlaku untuk