Share via


Note

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

Microsoft Speech Platform

CSpDynamicString

The CSpDynamicString class provides methods for managing dynamically sized WCHAR strings.

ISpDataKey Methods Description
CSpDynamicString The class constructors.
~CSpDynamicString The class destructor.
Append Appends a string or strings to the current instance.
Attach Attaches or assigns a string to the instance.
Clear Clears the text from an instance.
ClearAndGrowTo Clears the instance and reallocates it.
Compact Compacts the instance by reallocating it.
Copy Makes a copy of the instance.
CopyToBSTR Allocates a system BSTR.
Detach Detaches a string from the instance.
Length Returns the length of the instance.
LTrim Trims the white space starting from the left.
RTrim Trims the white space starting from the right.
TrimBoth Trims the white space starting from both the right and left sides.
TrimToSize Truncates the instance to a specific size.