AchievementCollection Members
The following tables list the members exposed by the AchievementCollection type.
Public Properties
Name | Description | |
---|---|---|
Count | Gets the number of objects in the collection. | |
IsDisposed | Indicates whether the object is disposed. | |
Item | Overloaded. Overloaded properties that retrieve an achievement from the collection. |
Public Methods
Name | Description | |
---|---|---|
Dispose | Immediately releases the unmanaged resources used by this object. | |
Equals | (Inherited from Object.) | |
GetEnumerator | Gets an enumerator that can iterate through this AchievementCollection. | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Protected Methods
Name | Description | |
---|---|---|
Finalize | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) |
Explicit Interface Implementations
Name | Description | |
---|---|---|
System.Collections.Generic.ICollection{T}.IsReadOnly | Gets a value indicating whether this collection is read-only. | |
System.Collections.Generic.ICollection{T}.Add | Adds a new Achievement to this AchievementCollection. | |
System.Collections.Generic.ICollection{T}.Clear | Removes all Achievement instances from this AchievementCollection. | |
System.Collections.Generic.ICollection{T}.Contains | Determines whether the specified achievement is in this AchievementCollection. | |
System.Collections.Generic.ICollection{T}.CopyTo | Copies the collection of achievements to an array, starting at the specified index. | |
System.Collections.IEnumerable.GetEnumerator | Gets a strongly-typed enumerator that can iterate through the collection. | |
System.Collections.Generic.IList{T}.IndexOf | Gets the index of an achievement in the collection. | |
System.Collections.Generic.IList{T}.Insert | Inserts a new Achievement into this collection of achievements. | |
System.Collections.Generic.IList{T}.RemoveAt | Removes the Achievement at the specified index position. | |
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