Microsoft Speech Platform
Object: SpFileStream
Close Method
The Close method closes the filestream object.
SpFileStream.Close()
Parameters
-
None.
Return Value
None.
Example
For a simple example using the SpFileStream.Close method, see the SpFileStream.Open method.
The ISpeechPhraseElement code example demonstrates further use of the SPFileStream object. This example uses a text-to-speech voice to speak into an SPFileStream object, and uses the resulting file as the input for speech recognition.