Note

Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.

Microsoft Speech Platform

CSpDynamicString::TrimToSize

CSpDynamicString::TrimToSize truncates the instance to a specific size.

<pre IsFakePre="true" xmlns="http://www.w3.org/1999/xhtml"> <strong>void TrimToSize(</strong> <strong>ULONG</strong> *<em>ulNumChars</em> <strong>)</strong> </pre>

Parameters

  • ulNumChars
    [in] The new size of the instance. The value must be less than less than or equal to the current size.