WindowsRuntimeStreamExtensions Class

Syntax

Declaration

[SecurityCritical]
public static class WindowsRuntimeStreamExtensions

Inheritance Hierarchy

  • WindowsRuntimeStreamExtensions

Inherited Members

System.Object

, , , , , ,

Methods summary

Methods

  • AsInputStream(Stream)
    [CLSCompliant(false)]
    public static Storage.Streams.IInputStream AsInputStream(this Stream stream)

    Parameters

    Returns

    • Windows.Storage.Streams.IInputStream
  • AsOutputStream(Stream)
    [CLSCompliant(false)]
    public static Storage.Streams.IOutputStream AsOutputStream(this Stream stream)

    Parameters

    Returns

    • Windows.Storage.Streams.IOutputStream
  • AsRandomAccessStream(Stream)
    [CLSCompliant(false)]
    public static Storage.Streams.IRandomAccessStream AsRandomAccessStream(this Stream stream)

    Parameters

    Returns

    • Windows.Storage.Streams.IRandomAccessStream
  • AsStream(Storage.Streams.IRandomAccessStream)
    [CLSCompliant(false)]
    public static Stream AsStream(this Storage.Streams.IRandomAccessStream windowsRuntimeStream)

    Parameters

    • windowsRuntimeStream
      Windows.Storage.Streams.IRandomAccessStream

    Returns

  • AsStream(Storage.Streams.IRandomAccessStream, Int32)
    [CLSCompliant(false)]
    public static Stream AsStream(this Storage.Streams.IRandomAccessStream windowsRuntimeStream, int bufferSize)

    Parameters

    • windowsRuntimeStream
      Windows.Storage.Streams.IRandomAccessStream
    • bufferSize

    Returns

  • AsStreamForRead(Storage.Streams.IInputStream)
    [CLSCompliant(false)]
    public static Stream AsStreamForRead(this Storage.Streams.IInputStream windowsRuntimeStream)

    Parameters

    • windowsRuntimeStream
      Windows.Storage.Streams.IInputStream

    Returns

  • AsStreamForRead(Storage.Streams.IInputStream, Int32)
    [CLSCompliant(false)]
    public static Stream AsStreamForRead(this Storage.Streams.IInputStream windowsRuntimeStream, int bufferSize)

    Parameters

    • windowsRuntimeStream
      Windows.Storage.Streams.IInputStream
    • bufferSize

    Returns

  • AsStreamForWrite(Storage.Streams.IOutputStream)
    [CLSCompliant(false)]
    public static Stream AsStreamForWrite(this Storage.Streams.IOutputStream windowsRuntimeStream)

    Parameters

    • windowsRuntimeStream
      Windows.Storage.Streams.IOutputStream

    Returns

  • AsStreamForWrite(Storage.Streams.IOutputStream, Int32)
    [CLSCompliant(false)]
    public static Stream AsStreamForWrite(this Storage.Streams.IOutputStream windowsRuntimeStream, int bufferSize)

    Parameters

    • windowsRuntimeStream
      Windows.Storage.Streams.IOutputStream
    • bufferSize

    Returns

Attributes

System.Security.SecurityCriticalAttribute

Details

Namespace

System.IO

Assembly

System.Runtime.WindowsRuntime.dll