Export (0) Print
Expand All

AchievementCollection Class

Collection holding the achievements belonging to a signed-in gamer.

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

public sealed class AchievementCollection : IList<Achievement>, ICollection<Achievement>, IEnumerable<Achievement>, IEnumerable, IDisposable

This collection may be indexed by key string or integer order. When you are indexing achievements by integer order or iterating over the collection, achievements are ordered with earned achievements first. They are sorted by most-recently earned, then sorted by unearned non-hidden achievements in the order they were defined using XLAST, and finally sorted by any unearned hidden achievements in XLAST order.

Xbox 360, Windows 7, Windows Vista, Windows XP

Community Additions

© 2014 Microsoft