ArraySegment<T>.Array Property

May 11, 2014

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

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

public T[] Array { 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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2014 Microsoft