Share via


TimedTextSource.CreateFromStreamWithIndex Méthode

Définition

Surcharges

CreateFromStreamWithIndex(IRandomAccessStream, IRandomAccessStream)

Crée une instance de TimedTextSource qui utilise des sous-titres basés sur des images à partir des flux d’images et d’index fournis.

CreateFromStreamWithIndex(IRandomAccessStream, IRandomAccessStream, String)

Crée une instance de TimedTextSource qui utilise des sous-titres basés sur des images à partir des flux d’image et d’index fournis et définit la langue par défaut.

CreateFromStreamWithIndex(IRandomAccessStream, IRandomAccessStream)

Crée une instance de TimedTextSource qui utilise des sous-titres basés sur des images à partir des flux d’images et d’index fournis.

public:
 static TimedTextSource ^ CreateFromStreamWithIndex(IRandomAccessStream ^ stream, IRandomAccessStream ^ indexStream);
/// [Windows.Foundation.Metadata.Overload("CreateFromStreamWithIndex")]
 static TimedTextSource CreateFromStreamWithIndex(IRandomAccessStream const& stream, IRandomAccessStream const& indexStream);
[Windows.Foundation.Metadata.Overload("CreateFromStreamWithIndex")]
public static TimedTextSource CreateFromStreamWithIndex(IRandomAccessStream stream, IRandomAccessStream indexStream);
function createFromStreamWithIndex(stream, indexStream)
Public Shared Function CreateFromStreamWithIndex (stream As IRandomAccessStream, indexStream As IRandomAccessStream) As TimedTextSource

Paramètres

stream
IRandomAccessStream

Flux contenant les données d’image pour les sous-titres basés sur des images.

indexStream
IRandomAccessStream

Flux contenant les données d’index pour les sous-titres basés sur des images.

Retours

Nouvelle source de texte chrono timed.

Attributs

Configuration requise pour Windows

Famille d’appareils
Windows 10 Creators Update (introduit dans 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduit dans v4.0)

S’applique à

CreateFromStreamWithIndex(IRandomAccessStream, IRandomAccessStream, String)

Crée une instance de TimedTextSource qui utilise des sous-titres basés sur des images à partir des flux d’image et d’index fournis et définit la langue par défaut.

public:
 static TimedTextSource ^ CreateFromStreamWithIndex(IRandomAccessStream ^ stream, IRandomAccessStream ^ indexStream, Platform::String ^ defaultLanguage);
/// [Windows.Foundation.Metadata.Overload("CreateFromStreamWithIndexAndLanguage")]
 static TimedTextSource CreateFromStreamWithIndex(IRandomAccessStream const& stream, IRandomAccessStream const& indexStream, winrt::hstring const& defaultLanguage);
[Windows.Foundation.Metadata.Overload("CreateFromStreamWithIndexAndLanguage")]
public static TimedTextSource CreateFromStreamWithIndex(IRandomAccessStream stream, IRandomAccessStream indexStream, string defaultLanguage);
function createFromStreamWithIndex(stream, indexStream, defaultLanguage)
Public Shared Function CreateFromStreamWithIndex (stream As IRandomAccessStream, indexStream As IRandomAccessStream, defaultLanguage As String) As TimedTextSource

Paramètres

stream
IRandomAccessStream

Flux contenant les données d’image pour les sous-titres basés sur des images.

indexStream
IRandomAccessStream

Flux contenant les données d’index pour les sous-titres basés sur des images.

defaultLanguage
String

Platform::String

winrt::hstring

Chaîne indiquant la langue par défaut de la source de texte chronoté.

Retours

Nouvelle source de texte chrono timed.

Attributs

Configuration requise pour Windows

Famille d’appareils
Windows 10 Creators Update (introduit dans 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduit dans v4.0)

S’applique à