Expression::ArrayAccess Method (Expression^, IEnumerable<Expression^>^)
.NET Framework (current version)
Creates an IndexExpression to access a multidimensional array.
Assembly: System.Core (in System.Core.dll)
public: static IndexExpression^ ArrayAccess( Expression^ array, IEnumerable<Expression^>^ indexes )
Parameters
- array
-
Type:
System.Linq.Expressions::Expression^
An expression that represents the multidimensional array.
- indexes
-
Type:
System.Collections.Generic::IEnumerable<Expression^>^
An IEnumerable<T> containing expressions used to index the array.
The expression that represents the array can be obtained by using the MakeMemberAccess method, or through NewArrayBounds or NewArrayInit.
Universal Windows Platform
Available since 8
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 4.0
Windows Phone Silverlight
Available since 8.0
Windows Phone
Available since 8.1
Available since 8
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 4.0
Windows Phone Silverlight
Available since 8.0
Windows Phone
Available since 8.1
Show: