RandomAccessStreamReference.CreateFromUri(Uri) Method

Definition

Creates a random access stream around the specified URI.

public:
 static RandomAccessStreamReference ^ CreateFromUri(Uri ^ uri);
 static RandomAccessStreamReference CreateFromUri(Uri const& uri);
public static RandomAccessStreamReference CreateFromUri(System.Uri uri);
function createFromUri(uri)
Public Shared Function CreateFromUri (uri As Uri) As RandomAccessStreamReference

Parameters

uri
Uri Uri

The Uniform Resource Identifier (URI) to create the stream around. The valid Uniform Resource Identifier (URI) schemes are http, https, ms-appx, and ms-appdata.

Returns

The random access stream that encapsulates uri.

Applies to