Achievement.Key Property
Gets the achievement key string.
Namespace: Microsoft.Xna.Framework.GamerServices
Assembly: Microsoft.Xna.Framework.GamerServices (in microsoft.xna.framework.gamerservices.dll)
Syntax
public string Key { get; }
Property Value
The achievement key string.
Remarks
Warning
This property 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 property will return immediately with a predetermined default value.
Achievements can be looked up from the AchievementCollection by key, and the key is passed to the SignedInGamer.BeginAwardAchievement method.
See Also
Achievement Class
Achievement Members
Microsoft.Xna.Framework.GamerServices Namespace
Platforms
Xbox 360, Windows 7, Windows Vista, Windows XP