Note
Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.
Microsoft Speech Platform
CSpEvent::Detach
CSpEvent::Detach clears the current instance and optionally makes a copy.
<pre IsFakePre="true" xmlns="http://www.w3.org/1999/xhtml"> <strong>void Detach(</strong> SPEVENT *<em>pDestEvent</em> = NULL <strong>);</strong></pre>
Parameters
- pDestEvent
The event structure to copy to. If NULL, no copy is made before clearing the instance.