Share via


AchievementCollection.GetEnumerator Method

Gets an enumerator that can iterate through this AchievementCollection.

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

Syntax

public IEnumerator<Achievement> GetEnumerator ()

Return Value

An enumerator for this AchievementCollection.

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

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

Platforms

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