Clipboard.SetAudio Method (Stream)

 

Stores audio data (WaveAudio data format) on the Clipboard. The audio data is specified as a stream.

Namespace:   System.Windows
Assembly:  PresentationCore (in PresentationCore.dll)

public static void SetAudio(
	Stream audioStream
)

Parameters

audioStream
Type: System.IO.Stream

A stream that contains audio data to store on the Clipboard.

Exception Condition
ArgumentNullException

audioStream is null.

This method adds data with auto-conversion disabled.

.NET Framework
Available since 3.0
Return to top
Show: