LeaderboardWriter.GetLeaderboard Method
Gets a leaderboard entry that can be used to write to a specified leaderboard.
Syntax
'Declaration
Public Function GetLeaderboard ( _
leaderboardId As LeaderboardIdentity _
) As LeaderboardEntry
public LeaderboardEntry GetLeaderboard (
LeaderboardIdentity leaderboardId
)
public:
LeaderboardEntry GetLeaderboard(
LeaderboardIdentity leaderboardId
)
Parameters
- leaderboardId
Type: LeaderboardIdentity
The identity of the leaderboard to write to.
Return Value
Type: LeaderboardEntry
A LeaderboardEntry that can be used for writing to the leaderboard.
Requirements
Namespace: Microsoft.Xna.Framework.GamerServices
Assembly: Microsoft.Xna.Framework.GamerServices (in microsoft.xna.framework.gamerservices.dll)
See Also
Reference
LeaderboardWriter Class
LeaderboardWriter Members
Microsoft.Xna.Framework.GamerServices Namespace
Platforms
Windows Phone