LeaderboardReader.Read Method (LeaderboardIdentity, Int32, Int32)

Begins reading a leaderboard synchronously, specifying a leaderboard identity, the start page, and the page size.

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

Syntax

public static LeaderboardReader Read (
         LeaderboardIdentity leaderboardId,
         int pageStart,
         int pageSize
)

Parameters

  • leaderboardId
    The leaderboard identity of the leaderboard to read.
  • pageStart
    The page of leaderboard entries at which to start. Pass zero to start at the highest scores.
  • pageSize
    The number of leaderboard entries per page. Pass zero to include all available entries on a single page.

Return Value

The leaderboard reader used to read the results.

Remarks

Warning

This method retrieves a calculated result only for titles approved to access Xbox LIVE Services through the Xbox LIVE Registered Developer Program. For Xbox LIVE Indie games, this method returns immediately with a predetermined default value.

See Also

Tasks

Reference

LeaderboardReader Class
LeaderboardReader Members
Microsoft.Xna.Framework.GamerServices Namespace

Platforms

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