共用方式為


AudioDataStream.SaveToWaveFileAsync(String) Method

Definition

Saves the audio data to a file as an asynchronous operation.

public System.Threading.Tasks.Task SaveToWaveFileAsync (string fileName);
member this.SaveToWaveFileAsync : string -> System.Threading.Tasks.Task
Public Function SaveToWaveFileAsync (fileName As String) As Task

Parameters

fileName
String

Name of the file.

Returns

An asynchronous operation that writes to the file.

Remarks

See also: Customize audio format

Applies to