System.Windows.Forms.DataObject.ContainsAudio Method

Indicates whether the data object contains data in the DataFormats.WaveAudio format.

Syntax

public virtual bool ContainsAudio ()

Returns

true if the data object contains audio data; otherwise, false.

Remarks

Use this method to determine whether the data object contains audio data before retrieving it with the DataObject.GetAudioStream method.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0