ArcBufferPage.AsArraySegment(Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns an array segment pointing to the underlying array, starting from the provided offset, and having the provided length.
public ArraySegment<byte> AsArraySegment(int offset, int length);
member this.AsArraySegment : int * int -> ArraySegment<byte>
Public Function AsArraySegment (offset As Integer, length As Integer) As ArraySegment(Of Byte)
Parameters
- offset
- Int32
The offset into the array that the array segment starts from.
- length
- Int32
The length of the array segment.
Returns
The array segment.