TimedTextSource.CreateFromUri Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
- defaultLanguage
-
String
Platform::String
winrt::hstring
A string specifying the default language for the timed text source.
Returns
The new timed text source.
- Attributes