DataObject.ContainsAudio Method ()

 

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

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

public virtual bool ContainsAudio()

Return Value

Type: System.Boolean

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

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

.NET Framework
Available since 2.0
Return to top
Show: