![Collapse image Collapse image](collapse_all.gif)
![Expand Image Expand Image](expand_all.gif)
![](collapse_all.gif)
![](expand_all.gif)
![](dropdown.gif)
![](dropdownHover.gif)
![Copy image Copy image](copycode.gif)
![CopyHover image CopyHover image](copycodeHighlight.gif)
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
XML |
![]() |
---|---|
<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 |
![]() |
---|---|
<?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> |