共用方式為


GamerPrivileges.AllowPremiumContent Property

Checks if this gamer is allowed to access premium content.

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

Syntax

public bool AllowPremiumContent { get; }

Property Value

Returns true if the gamer is allowed to access premium content, false otherwise.

Remarks

Ff604974.note(en-us,XNAGameStudio.41).gifWindows Phone Specific Information

This property is always false on Windows Phone.

See Also

Reference

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

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP