DataObject::SetAudio Method (Stream^)
.NET Framework (current version)
Namespace:
System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Return to top
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
| Exception | Condition |
|---|---|
| ArgumentNullException | audioStream is null. |
To retrieve audio data from the data object, first use the ContainsAudio method to determine whether the data object contains audio data before retrieving it with the GetAudioStream method.
.NET Framework
Available since 2.0
Available since 2.0
Show: