Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Write
Collapse the table of content
Expand the table of content

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.

Show:
© 2015 Microsoft