Edit

Share via


DataObject.ContainsAudio Method

Definition

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

public:
 virtual bool ContainsAudio();
public virtual bool ContainsAudio ();
abstract member ContainsAudio : unit -> bool
override this.ContainsAudio : unit -> bool
Public Overridable Function ContainsAudio () As Boolean

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 GetAudioStream method.

Applies to

See also