Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Song.FromUri Method

Constructs a new Song object based on the specified URI.

Namespace: Microsoft.Xna.Framework.Media
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

public static Song FromUri (
         string name,
         Uri uri
)

Parameters

name
Type: String
Name of the song.
uri
Type: Uri
Uri object that represents the URI.

Return Value

Song object that can be used to play the song remotely.

Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone

Community Additions

Show:
© 2015 Microsoft