Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

SoundPlayer.Stream Property

Definition

Namespace:
System.Media
Assembly:
System.Windows.Extensions.dll
Assembly:
System.dll
Package:
System.Windows.Extensions v11.0.0-preview.5.26302.115
Source:
SoundPlayer.cs
Source:
SoundPlayer.cs
Source:
SoundPlayer.cs
Source:
SoundPlayer.cs
Source:
SoundPlayer.cs
Source:
SoundPlayer.cs
Source:
SoundPlayer.cs
Source:
SoundPlayer.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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

public:
 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.

Remarks

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

Applies to

See also


Feedback

Was this page helpful?