共用方式為


Achievement Members

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

Public Properties

Name Description
Public Property Description Gets the localized achievement description string.
Public Property DisplayBeforeEarned Gets whether this achievement should be displayed before it is earned.
Public Property EarnedDateTime Gets the date at which this achievement was earned.
Public Property EarnedOnline Gets whether this achievement was earned while online.
Public Property GamerScore Gets the amount of gamer score awarded for earning this achievement.
Public Property HowToEarn Gets the localized description of the steps necessary to earn the achievement.
Public Property IsEarned Gets whether the current player has earned this achievement.
Public Property Key Gets the achievement key string.
Public Property Name Gets the localized achievement name string, for display to the user.

Public Methods

Name Description
Public Method Equals (Inherited from Object.)
Public Method GetHashCode (Inherited from Object.)
Public Method GetPicture Gets the image associated with this achievement.
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

Achievement Class
Microsoft.Xna.Framework.GamerServices Namespace