SoundPlayer.Stream Property


Gets or sets the Stream from which to load the .wav file.

 property System::IO::Stream ^ Stream { System::IO::Stream ^ get(); void set(System::IO::Stream ^ value); };
public System.IO.Stream Stream { get; set; }
public System.IO.Stream? Stream { get; set; }
member this.Stream : System.IO.Stream with get, set
Public Property Stream As Stream

Property Value


A Stream from which to load the .wav file, or null if no stream is available. The default is null.


This property is set to null when the SoundLocation property is set to a new and valid sound location.

Applies to

See also