DataObject.ContainsAudio Method ()


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

Queries a data object for the presence of data in the WaveAudio data format.

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

public bool ContainsAudio()

Return Value

Type: System.Boolean

true if the data object contains data in the WaveAudio data format; otherwise, false.

This method returns true only if the specified data format exists natively in the data object; this method does not check for the presence of auto-convertible data formats.

.NET Framework
Available since 3.0
Return to top