Binder.SetIndex Metodo

Definizione

Inizializza un nuovo binder dell'indice set CSharp.

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

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

Parametri

flags
CSharpBinderFlags

Flag con cui inizializzare il binder.

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 dell'indice del set CSharp.

Si applica a