Windows apps
Collapse the table of content
Expand the table of content

WindowsRuntimeStreamExtensions Methods

.NET Framework (current version)

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:
© 2017 Microsoft