The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
Expression::ArrayAccess Method (Expression^, array<Expression^>^)
.NET Framework (current version)
Creates an IndexExpression to access an array.
Assembly: System.Core (in System.Core.dll)
public: static IndexExpression^ ArrayAccess( Expression^ array, ... array<Expression^>^ indexes )
Parameters
- array
-
Type:
System.Linq.Expressions::Expression^
An expression representing the array to index.
- indexes
-
Type:
array<System.Linq.Expressions::Expression^>^
An array that contains 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.
For multidimensional arrays, use the ArrayAccess method.
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: