次の方法で共有


MediaPlayer.PlayPosition Property

Gets the play position within the currently playing song.

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

Syntax

public static TimeSpan PlayPosition { get; }

Property Value

Play position within the current song, as a TimeSpan structure.

See Also

Reference

MediaPlayer Class
MediaPlayer Members
Microsoft.Xna.Framework.Media Namespace

Platforms

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