Clipboard.SetAudio Method (Byte[])

 
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 byte array.

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

public static void SetAudio(
	byte[] audioBytes
)

Parameters

audioBytes
Type: System.Byte[]

A byte array that contains audio data to store on the Clipboard.

Exception Condition
ArgumentNullException

audioBytes is null.

This method adds data with auto-conversion disabled.

.NET Framework
Available since 3.0
Return to top
Show: