Delen via


MediaSource.CreateFromUri(Uri) Method

Definition

Creates an instance of MediaSource from the provided Uri.

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

Parameters

uri
Uri Uri

The URI from which the MediaSource is created.

Returns

The new media source.

Applies to