Microsoft.FrameWorck.Media.Songでforme分離ストレージを読み取ったストリームに影響を与えたいのですが、次のコードを実行しました。
public void Restory()
{
` Media.ClearValue(MediaElement.SourceProperty);
using (IsolatedStorageFile ISF = solatedStorageFile.GetUserStoreForApplication())
{
if (ISF.FileExists(MainPage.filename))
using (IsolatedStorageFileStream FS = ISF.OpenFile(MainPage.filename,FileMode.Open))
{
this.Media.SetSource(FS);
Media.Play();
//Media is Mediaenlement But in this step
i want to put that stream in Microsoft.Xna.FrameWorck.Media.Song
}
}
}