Expression.MakeIndex メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オブジェクト内のインデックス付きプロパティへのアクセスを表す 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。