Clipboard.SetAudio Method (Stream)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: