Partage via


Binder.SetMember Méthode

Définition

Initialise un nouveau classeur de définition de membre 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 ^ SetMember(Microsoft::CSharp::RuntimeBinder::CSharpBinderFlags flags, System::String ^ name, Type ^ context, System::Collections::Generic::IEnumerable<Microsoft::CSharp::RuntimeBinder::CSharpArgumentInfo ^> ^ argumentInfo);
public static System.Runtime.CompilerServices.CallSiteBinder SetMember (Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags flags, string name, Type context, System.Collections.Generic.IEnumerable<Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo> argumentInfo);
public static System.Runtime.CompilerServices.CallSiteBinder SetMember (Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags flags, string name, Type? context, System.Collections.Generic.IEnumerable<Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo>? argumentInfo);
static member SetMember : Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags * string * Type * seq<Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo> -> System.Runtime.CompilerServices.CallSiteBinder
Public Shared Function SetMember (flags As CSharpBinderFlags, name As String, 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 à définir.

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 de définition de membre CSharp.

S’applique à