SpeechSynthesizer.SetOutputToNull Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Configures the SpeechSynthesizer object to not send output from synthesis operations to a device, file, or stream.
public:
void SetOutputToNull();
public void SetOutputToNull ();
member this.SetOutputToNull : unit -> unit
Public Sub SetOutputToNull ()
Remarks
Use this method to release the SpeechSynthesizer's reference to a file or stream. See SetOutputToWaveStream for an example.
For other output configuration options, see the SetOutputToAudioStream, SetOutputToDefaultAudioDevice, SetOutputToWaveFile, and SetOutputToWaveStream methods.
Applies to
Comentários
https://aka.ms/ContentUserFeedback.
Em breve: Ao longo de 2024, eliminaremos os problemas do GitHub como o mecanismo de comentários para conteúdo e o substituiremos por um novo sistema de comentários. Para obter mais informações, consulteEnviar e exibir comentários de