Share via


SpFileStream Close Method (SAPI 5.3)

Microsoft Speech API 5.3

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.