Expression.MakeIndex Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Crée un IndexExpression qui représente l’accès à une propriété indexée dans un objet.
public:
static System::Linq::Expressions::IndexExpression ^ MakeIndex(System::Linq::Expressions::Expression ^ instance, System::Reflection::PropertyInfo ^ indexer, System::Collections::Generic::IEnumerable<System::Linq::Expressions::Expression ^> ^ arguments);
public static System.Linq.Expressions.IndexExpression MakeIndex(System.Linq.Expressions.Expression instance, System.Reflection.PropertyInfo indexer, System.Collections.Generic.IEnumerable<System.Linq.Expressions.Expression> arguments);
static member MakeIndex : System.Linq.Expressions.Expression * System.Reflection.PropertyInfo * seq<System.Linq.Expressions.Expression> -> System.Linq.Expressions.IndexExpression
Public Shared Function MakeIndex (instance As Expression, indexer As PropertyInfo, arguments As IEnumerable(Of Expression)) As IndexExpression
Paramètres
- instance
- Expression
Objet auquel appartient la propriété. Elle doit être null si la propriété est static (shared dans Visual Basic).
- indexer
- PropertyInfo
Représentant Expression la propriété à indexer.
- arguments
- IEnumerable<Expression>
Un IEnumerable<Expression> (IEnumerable (Of Expression) dans Visual Basic) qui contient les arguments qui seront utilisés pour indexer la propriété.
Retours
Le fichier créé IndexExpression.