MediaSource.CreateFromUri(Uri) MediaSource.CreateFromUri(Uri) MediaSource.CreateFromUri(Uri) MediaSource.CreateFromUri(Uri) MediaSource.CreateFromUri(Uri) Method

Definition

Creates an instance of MediaSource from the provided Uri.

public : static MediaSource CreateFromUri(Uri uri)
static MediaSource CreateFromUri(Uri uri) const;
public static MediaSource CreateFromUri(Uri uri)
Public Shared Function CreateFromUri(uri As Uri) As MediaSource
var mediaSource = Windows.Media.Core.MediaSource.createFromUri(uri);

Parameters

uri
Uri Uri Uri

The URI from which the MediaSource is created.

Returns