TimedTextSource.CreateFromStream 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
CreateFromStream(IRandomAccessStream) |
Creates a new instance of TimedTextSource from the provided stream. |
CreateFromStream(IRandomAccessStream, String) |
Creates a new instance of TimedTextSource with the specified default language from the provided stream. |
CreateFromStream(IRandomAccessStream)
Creates a new instance of TimedTextSource from the provided stream.
public:
static TimedTextSource ^ CreateFromStream(IRandomAccessStream ^ stream);
/// [Windows.Foundation.Metadata.Overload("CreateFromStream")]
static TimedTextSource CreateFromStream(IRandomAccessStream const& stream);
[Windows.Foundation.Metadata.Overload("CreateFromStream")]
public static TimedTextSource CreateFromStream(IRandomAccessStream stream);
function createFromStream(stream)
Public Shared Function CreateFromStream (stream As IRandomAccessStream) As TimedTextSource
Parameters
- stream
- IRandomAccessStream
The stream from which the timed text source is created.
Returns
The new timed text source.
- Attributes
See also
Applies to
CreateFromStream(IRandomAccessStream, String)
Creates a new instance of TimedTextSource with the specified default language from the provided stream.
public:
static TimedTextSource ^ CreateFromStream(IRandomAccessStream ^ stream, Platform::String ^ defaultLanguage);
/// [Windows.Foundation.Metadata.Overload("CreateFromStreamWithLanguage")]
static TimedTextSource CreateFromStream(IRandomAccessStream const& stream, winrt::hstring const& defaultLanguage);
[Windows.Foundation.Metadata.Overload("CreateFromStreamWithLanguage")]
public static TimedTextSource CreateFromStream(IRandomAccessStream stream, string defaultLanguage);
function createFromStream(stream, defaultLanguage)
Public Shared Function CreateFromStream (stream As IRandomAccessStream, defaultLanguage As String) As TimedTextSource
Parameters
- stream
- IRandomAccessStream
The stream 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