共用方式為


PropertyDictionary Class

Holds a set of properties used to define presence states or leaderboard column values.

Properties can be set and retrieved as loosely-typed boxed objects or with the strongly-typed SetValue and GetValue overloads. If properties are accessed using types different to those defined in the XLAST file, values will automatically be converted using the standard System.Convert behavior, in which case the property data may be boxed. No boxing is performed if properties and accessed using the same type that was defined in the XLAST file.

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

Syntax

public sealed class PropertyDictionary : IDictionary<string, Object>, ICollection<KeyValuePair<string, Object>>, IEnumerable<KeyValuePair<string, Object>>, IEnumerable

See Also

Reference

PropertyDictionary Members
Microsoft.Xna.Framework.GamerServices Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP