Share via


AchievementCollection Members

The following tables list the members exposed by the AchievementCollection type.

Public Properties

Name Description
Public Property Count Gets the number of objects in the collection.
Public Property IsDisposed Indicates whether the object is disposed.
Public Property Item Overloaded. Overloaded properties that retrieve an achievement from the collection.

Public Methods

Name Description
Public Method Dispose Immediately releases the unmanaged resources used by this object.
Public Method Equals (Inherited from Object.)
Public Method GetEnumerator Gets an enumerator that can iterate through this AchievementCollection.
Public Method GetHashCode (Inherited from Object.)
Public Method GetType (Inherited from Object.)
Public Method ToString (Inherited from Object.)

Protected Methods

Name Description
Protected Method Finalize (Inherited from Object.)
Protected Method MemberwiseClone (Inherited from Object.)

Explicit Interface Implementations

Name Description
Explicit Interface ImplementationMethod System.Collections.Generic.ICollection{T}.IsReadOnly Gets a value indicating whether this collection is read-only.
Explicit Interface ImplementationMethod System.Collections.Generic.ICollection{T}.Add Adds a new Achievement to this AchievementCollection.
Explicit Interface ImplementationMethod System.Collections.Generic.ICollection{T}.Clear Removes all Achievement instances from this AchievementCollection.
Explicit Interface ImplementationMethod System.Collections.Generic.ICollection{T}.Contains Determines whether the specified achievement is in this AchievementCollection.
Explicit Interface ImplementationMethod System.Collections.Generic.ICollection{T}.CopyTo Copies the collection of achievements to an array, starting at the specified index.
Explicit Interface ImplementationMethod System.Collections.IEnumerable.GetEnumerator Gets a strongly-typed enumerator that can iterate through the collection.
Explicit Interface ImplementationMethod System.Collections.Generic.IList{T}.IndexOf Gets the index of an achievement in the collection.
Explicit Interface ImplementationMethod System.Collections.Generic.IList{T}.Insert Inserts a new Achievement into this collection of achievements.
Explicit Interface ImplementationMethod System.Collections.Generic.IList{T}.RemoveAt Removes the Achievement at the specified index position.
Explicit Interface ImplementationMethod System.Collections.Generic.ICollection{T}.Remove Removes the specified Achievement from the collection.

Remarks

Warning

This class and all related methods and properties only retrieve a calculated result for titles approved to access Xbox LIVE Services through the Xbox LIVE Registered Developer Program. For Xbox LIVE Indie games, the properties in this class will not return a calculated result, and related methods will report a NotSupportedException.

See Also

Reference

AchievementCollection Class
Microsoft.Xna.Framework.GamerServices Namespace