Binder.InvokeMember Metoda
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Inicjuje nowy element binder elementu członkowskiego wywołania CSharp.
Ten interfejs API obsługuje infrastrukturę produktu i nie jest przeznaczony do użycia bezpośrednio z poziomu kodu.
public:
static System::Runtime::CompilerServices::CallSiteBinder ^ InvokeMember(Microsoft::CSharp::RuntimeBinder::CSharpBinderFlags flags, System::String ^ name, System::Collections::Generic::IEnumerable<Type ^> ^ typeArguments, Type ^ context, System::Collections::Generic::IEnumerable<Microsoft::CSharp::RuntimeBinder::CSharpArgumentInfo ^> ^ argumentInfo);
public static System.Runtime.CompilerServices.CallSiteBinder InvokeMember (Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags flags, string name, System.Collections.Generic.IEnumerable<Type> typeArguments, Type context, System.Collections.Generic.IEnumerable<Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo> argumentInfo);
public static System.Runtime.CompilerServices.CallSiteBinder InvokeMember (Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags flags, string name, System.Collections.Generic.IEnumerable<Type>? typeArguments, Type? context, System.Collections.Generic.IEnumerable<Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo>? argumentInfo);
static member InvokeMember : Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags * string * seq<Type> * Type * seq<Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo> -> System.Runtime.CompilerServices.CallSiteBinder
Public Shared Function InvokeMember (flags As CSharpBinderFlags, name As String, typeArguments As IEnumerable(Of Type), context As Type, argumentInfo As IEnumerable(Of CSharpArgumentInfo)) As CallSiteBinder
Parametry
- flags
- CSharpBinderFlags
Flagi, za pomocą których należy zainicjować binder.
- name
- String
Nazwa elementu członkowskiego do wywołania.
- typeArguments
- IEnumerable<Type>
Lista argumentów typu określonych dla tego wywołania.
- argumentInfo
- IEnumerable<CSharpArgumentInfo>
Sekwencja CSharpArgumentInfo wystąpień argumentów dla tej operacji.
Zwraca
Nowy element binder elementu członkowskiego wywołania CSharp.