WindowsRuntimeStorageExtensions Class

Syntax

Declaration

[SecurityCritical]
public static class WindowsRuntimeStorageExtensions

Inheritance Hierarchy

  • WindowsRuntimeStorageExtensions

Inherited Members

System.Object

, , , , , ,

Methods summary

Methods

  • OpenStreamForReadAsync(Storage.IStorageFile)
    [CLSCompliant(false)]
    public static Task<Stream> OpenStreamForReadAsync(this Storage.IStorageFile windowsRuntimeFile)

    Parameters

    • windowsRuntimeFile
      Windows.Storage.IStorageFile

    Returns

  • OpenStreamForReadAsync(Storage.IStorageFolder, String)
    [CLSCompliant(false)]
    public static Task<Stream> OpenStreamForReadAsync(this Storage.IStorageFolder rootDirectory, string relativePath)

    Parameters

    • rootDirectory
      Windows.Storage.IStorageFolder
    • relativePath

    Returns

  • OpenStreamForWriteAsync(Storage.IStorageFile)
    [CLSCompliant(false)]
    public static Task<Stream> OpenStreamForWriteAsync(this Storage.IStorageFile windowsRuntimeFile)

    Parameters

    • windowsRuntimeFile
      Windows.Storage.IStorageFile

    Returns

  • OpenStreamForWriteAsync(Storage.IStorageFolder, String, Storage.CreationCollisionOption)
    [CLSCompliant(false)]
    public static Task<Stream> OpenStreamForWriteAsync(this Storage.IStorageFolder rootDirectory, string relativePath, Storage.CreationCollisionOption creationCollisionOption)

    Parameters

    • rootDirectory
      Windows.Storage.IStorageFolder
    • relativePath
    • creationCollisionOption
      Windows.Storage.CreationCollisionOption

    Returns

Attributes

System.Security.SecurityCriticalAttribute

Details

Namespace

System.IO

Assembly

System.Runtime.WindowsRuntime.dll