Dela via


TimedTextSource.CreateFromUri Method

Definition

Overloads

CreateFromUri(Uri)

Creates a new instance of TimedTextSource from the provided URI.

CreateFromUri(Uri, String)

Creates a new instance of TimedTextSource with the specified default language from the provided URI.

CreateFromUri(Uri)

Creates a new instance of TimedTextSource from the provided URI.

public:
 static TimedTextSource ^ CreateFromUri(Uri ^ uri);
/// [Windows.Foundation.Metadata.Overload("CreateFromUri")]
 static TimedTextSource CreateFromUri(Uri const& uri);
[Windows.Foundation.Metadata.Overload("CreateFromUri")]
public static TimedTextSource CreateFromUri(System.Uri uri);
function createFromUri(uri)
Public Shared Function CreateFromUri (uri As Uri) As TimedTextSource

Parameters

uri
Uri Uri

The URI from which the timed text source is created.

Returns

The new timed text source.

Attributes

See also

Applies to

CreateFromUri(Uri, String)

Creates a new instance of TimedTextSource with the specified default language from the provided URI.

public:
 static TimedTextSource ^ CreateFromUri(Uri ^ uri, Platform::String ^ defaultLanguage);
/// [Windows.Foundation.Metadata.Overload("CreateFromUriWithLanguage")]
 static TimedTextSource CreateFromUri(Uri const& uri, winrt::hstring const& defaultLanguage);
[Windows.Foundation.Metadata.Overload("CreateFromUriWithLanguage")]
public static TimedTextSource CreateFromUri(System.Uri uri, string defaultLanguage);
function createFromUri(uri, defaultLanguage)
Public Shared Function CreateFromUri (uri As Uri, defaultLanguage As String) As TimedTextSource

Parameters

uri
Uri Uri

The URI from which the timed text source is created.

defaultLanguage
String

Platform::String

winrt::hstring

A string specifying the default language for the timed text source.

Returns

The new timed text source.

Attributes

See also

Applies to