SpeechSynthesisStream.Markers Property
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.
Gets the collection of timeline markers associated with the SpeechSynthesisStream.
Note
SpeechSynthesisStream.Markers is deprecated. We recommend using the MediaPlayerElement and MediaPlaybackItem objects instead (in conjunction with the IncludeSentenceBoundaryMetadata and IncludeWordBoundaryMetadata properties of a SpeechSynthesizerOptions object).
public:
property IVectorView<IMediaMarker ^> ^ Markers { IVectorView<IMediaMarker ^> ^ get(); };
IVectorView<IMediaMarker> Markers();
public IReadOnlyList<IMediaMarker> Markers { get; }
var iVectorView = speechSynthesisStream.markers;
Public ReadOnly Property Markers As IReadOnlyList(Of IMediaMarker)
Property Value
When this method completes successfully, it returns a collection of IMediaMarker objects that represent the timeline markers in the stream.