共用方式為


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.)

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