Expression.MakeIndex(Expression, PropertyInfo, IEnumerable<Expression>) Expression.MakeIndex(Expression, PropertyInfo, IEnumerable<Expression>) Expression.MakeIndex(Expression, PropertyInfo, IEnumerable<Expression>) Expression.MakeIndex(Expression, PropertyInfo, IEnumerable<Expression>) Method

定義

オブジェクトのインデックス付きプロパティへのアクセスを表す IndexExpression を作成します。Creates an IndexExpression that represents accessing an indexed property in an object.

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

パラメーター

instance
Expression Expression Expression Expression

プロパティが属するオブジェクト。The object to which the property belongs. プロパティが static (Visual Basic では shared) の場合は、null にします。It should be null if the property is static (shared in Visual Basic).

indexer
PropertyInfo PropertyInfo PropertyInfo PropertyInfo

インデックス化するプロパティを表す ExpressionAn Expression representing the property to index.

arguments
IEnumerable<Expression>

プロパティのインデックス化に使用する引数を含む IEnumerable<Expression> (Visual Basic では IEnumerable (Of Expression))。An IEnumerable<Expression> (IEnumerable (Of Expression) in Visual Basic) that contains the arguments that will be used to index the property.

戻り値

適用対象