SoundPlayer.Stream 屬性

定義

取得或設定要由其載入 .wav 檔的 Stream

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

屬性值

如果沒有可用的資料流,則是要由其載入 .wav 檔的 Stream,或 null。 預設為 null

備註

當 屬性設定為新的有效音效位置時,SoundLocation這個屬性會設定null為 。

適用於

另請參閱