次の方法で共有


SignedInGamer.Privileges Property

Describes what operations a gamer is allowed to perform.

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

Syntax

public GamerPrivileges Privileges { get; }

Property Value

The operations a gamer is allowed to perform.

Remarks

Privileges can be defined by parental control settings, and also will be set automatically in response to things like age, region, and whether the gamer has a LIVE Gold or LIVE Silver membership. Games do not need to explicitly check privileges, because a GamerPrivilegeException will be thrown if an unsupported operation is selected. However, these privilege bits may be useful to detect that an operation is unavailable before calling it so as to grey-out the relevant menu option.

See Also

Reference

SignedInGamer Class
SignedInGamer Members
Microsoft.Xna.Framework.GamerServices Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista, Zune