Clipboard.SetAudio Clipboard.SetAudio Clipboard.SetAudio Clipboard.SetAudio Method

Definition

Stores audio data (WaveAudio data format) on the Clipboard. The audio data can be a byte array or a stream.

Overloads

SetAudio(Byte[]) SetAudio(Byte[]) SetAudio(Byte[]) SetAudio(Byte[])

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

SetAudio(Stream) SetAudio(Stream) SetAudio(Stream) SetAudio(Stream)

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

SetAudio(Byte[]) SetAudio(Byte[]) SetAudio(Byte[]) SetAudio(Byte[])

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

public:
 static void SetAudio(cli::array <System::Byte> ^ audioBytes);
public static void SetAudio (byte[] audioBytes);
static member SetAudio : byte[] -> unit
Public Shared Sub SetAudio (audioBytes As Byte())

Parameters

audioBytes
Byte[]

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

Exceptions

Remarks

This method adds data with auto-conversion disabled.

See also

SetAudio(Stream) SetAudio(Stream) SetAudio(Stream) SetAudio(Stream)

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

public:
 static void SetAudio(System::IO::Stream ^ audioStream);
public static void SetAudio (System.IO.Stream audioStream);
static member SetAudio : System.IO.Stream -> unit
Public Shared Sub SetAudio (audioStream As Stream)

Parameters

audioStream
Stream Stream Stream Stream

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

Exceptions

Remarks

This method adds data with auto-conversion disabled.

See also

Applies to