Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

mark Element (Microsoft.Speech)

Designates a specific reference point in the text sequence. This element can also be used to mark an output audio stream for asynchronous notification.

Syntax

<mark name="string" />

Attributes

Attribute

Description

name

Required. Identifies the name of the mark element. The value is a string.

Remarks

Use the empty mark element to insert a marker into an output stream to trigger asynchronous notification.

When the application reaches the mark element, the text-to-speech engine raises an event that includes the value for the name attribute of the element. In Microsoft.Speech, the speech synthesizer raises a BookmarkReached event when it encounters a mark element.

Example

<?xml version="1.0" encoding="ISO-8859-1"?>
<speak version="1.0"
 xmlns="http://www.w3.org/2001/10/synthesis"
 xml:lang="en-US">

<s>
We guarantee that your call will be answered in less
than three minutes. <mark name="beginWait"/>
</s>

</speak>

Show:
© 2017 Microsoft