ArraySegment(T) Properties

ArraySegment<T> Properties

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

The ArraySegment<T> type exposes the following members.

  NameDescription
Public property Array Gets the original array containing the range of elements that the array segment delimits.
Public property Count Gets the number of elements in the range delimited by the array segment.
Public property Offset Gets the position of the first element in the range delimited by the array segment, relative to the start of the original array.
Top

  NameDescription
Explicit interface implemetation Private property ICollection<T>.IsReadOnly Gets a value indicating whether the ArraySegment<T> is read-only.
Explicit interface implemetation Private property IList<T>.Item Gets or sets the element at the specified index.
Explicit interface implemetation Private property IReadOnlyList<T>.Item Gets the element at the specified index of the array segment.
Top

Show:
© 2017 Microsoft