Partage via


Binder.InvokeMember Méthode

Définition

Initialise un nouveau classeur de membres appelés CSharp.

Cette API prend en charge l'infrastructure du produit et n'est pas destinée à être utilisée directement à partir de votre code.

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

Paramètres

flags
CSharpBinderFlags

Indicateurs avec lesquels initialiser le classeur.

name
String

Nom du membre à appeler.

typeArguments
IEnumerable<Type>

Liste d'arguments de type spécifiés pour cet appel.

context
Type

Type qui indique où cette opération est utilisée.

argumentInfo
IEnumerable<CSharpArgumentInfo>

Séquence d'instances CSharpArgumentInfo pour les arguments de cette opération.

Retours

Nouveau classeur d’appels de membres appelés CSharp.

S’applique à