Binder.SetMember Metodo

Definizione

Inizializza un nuovo gestore di associazione di membri del set CSharp.

Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice.

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);
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

Parametri

flags
CSharpBinderFlags

Flag con cui inizializzare il binder.

name
String

Nome del membro da impostare.

context
Type

Oggetto Type che indica dove viene utilizzata questa operazione.

argumentInfo
IEnumerable<CSharpArgumentInfo>

Sequenza di CSharpArgumentInfo istanze per gli argomenti di questa operazione.

Valori restituiti

Nuovo binder del set CSharp.

Si applica a