ArraySegment<'T>.Array Property


Gets the original array containing the range of elements that the array segment delimits.

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

member Array : 'T[] with get

Property Value

Type: 'T[]

The original array that was passed to the constructor, and that contains the range delimited by the ArraySegment<'T>.

The Array property returns the original array, not a copy of the array; therefore, changes made through the property are made directly to the original array.

The following code example passes an ArraySegment<'T> to a method.

No code example is currently available or this language may not be supported.

Universal Windows Platform
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Return to top