Expression.MakeIndex メソッド

定義

オブジェクト内のインデックス付きプロパティへのアクセスを表す IndexExpression を作成します。

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

プロパティが属するオブジェクト。 プロパティが static (Visual Basic では shared) の場合は null にする必要があります。

indexer
PropertyInfo

インデックスを作成するプロパティを表す Expression

arguments
IEnumerable<Expression>

プロパティのインデックス作成に使用される引数を含む IEnumerable<Expression> (Visual Basic の IEnumerable (Of Expression))。

返品

作成された IndexExpression

適用対象