Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ISpeechBaseStream Write Method (SAPI 5.3)

Speech API 5.3
Microsoft Speech API 5.3

Interface: ISpeechBaseStream

Write Method


The Write method writes data to a stream object.

The Write method writes text or audio data from a Variant variable into the stream, starting at the Seek pointer and writing until all data has been copied. When the method has completed, it returns the number of bytes written, and resets the Seek pointer one byte past the last byte written.


ISpeechBaseStream.Write(
     Buffer As Variant
) As Long

Parameters

Buffer
A Variant variable containing the data to be written.

Return Value

A Long variable indicating the number of bytes written.


Example

Use of the Write method is demonstrated in a code example at the end of the ISpeechBaseStream section.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.