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);
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> 속성을 인덱싱하는 데 사용할 인수를 포함하는 (IEnumerable (Of Expression)Visual Basic의 경우)입니다.

반환

만든 IndexExpression입니다.

적용 대상