Binder.GetIndex(CSharpBinderFlags, Type, IEnumerable<CSharpArgumentInfo>) Método

Definição

Inicializa um novo associador de obtenção de índice CSharp.Initializes a new CSharp get index binder.

Esta API dá suporte à infraestrutura do produto e não deve ser usada diretamente do seu código.

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

Parâmetros

flags
CSharpBinderFlags

Os sinalizadores com os quais inicializar o associador.The flags with which to initialize the binder.

context
Type

O Type que indica onde esta operação é usada.The Type that indicates where this operation is used.

argumentInfo
IEnumerable<CSharpArgumentInfo>

A sequência de instâncias CSharpArgumentInfo para os argumentos dessa operação.The sequence of CSharpArgumentInfo instances for the arguments to this operation.

Retornos

CallSiteBinder

Um novo associador de obtenção de índice CSharp.A new CSharp get index binder.

Aplica-se a