Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
WindowsRuntimeStreamExtensions Methods

WindowsRuntimeStreamExtensions Methods

.NET Framework 4.6 and 4.5

The WindowsRuntimeStreamExtensions type exposes the following members.

  Name Description
Public method Static member AsInputStream Converts a managed stream in the .NET for Windows 8.x Store apps to an input stream in the Windows Runtime.
Public method Static member AsOutputStream Converts a managed stream in the .NET for Windows 8.x Store apps to an output stream in the Windows Runtime.
Public method Static member AsRandomAccessStream Converts the specified stream to a random access stream.
Public method Static member AsStream(IRandomAccessStream) Converts a random access stream in the Windows Runtime to a managed stream in the .NET for Windows 8.x Store apps.
Public method Static member AsStream(IRandomAccessStream, Int32) Converts a random access stream in the Windows Runtime to a managed stream in the .NET for Windows 8.x Store apps using the specified buffer size.
Public method Static member AsStreamForRead(IInputStream) Converts an input stream in the Windows Runtime to a managed stream in the .NET for Windows 8.x Store apps.
Public method Static member AsStreamForRead(IInputStream, Int32) Converts an input stream in the Windows Runtime to a managed stream in the .NET for Windows 8.x Store apps using the specified buffer size.
Public method Static member AsStreamForWrite(IOutputStream) Converts an output stream in the Windows Runtime to a managed stream in the .NET for Windows 8.x Store apps.
Public method Static member AsStreamForWrite(IOutputStream, Int32) Converts an output stream in the Windows Runtime to a managed stream in the .NET for Windows 8.x Store apps using the specified buffer size.
Top
Show:
© 2015 Microsoft