Export (0) Print
Expand All

WindowsRuntimeBufferExtensions.ToArray Method

.NET Framework 4.5

Returns a new array that is created from the contents of a specified buffer.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Static member ToArray(IBuffer) Returns a new array that is created from the contents of the specified buffer (Windows.Storage.Streams.IBuffer). The size of the array is the value of the Length property of the IBuffer.
Public method Static member ToArray(IBuffer, UInt32, Int32) Returns a new array that is created from the contents of the specified buffer (Windows.Storage.Streams.IBuffer), starting at a specified offset and including a specified number of bytes.
Top
Show:
© 2014 Microsoft