共用方式為


GamerPrivileges.AllowPurchaseContent Property

Checks if this gamer is allowed to purchase content from LIVE Marketplace.

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

Syntax

public bool AllowPurchaseContent { get; }

Property Value

true if this gamer is allowed to purchase content from LIVE Marketplace; false otherwise.

Remarks

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

This property is always true on Windows Phone.

See Also

Reference

Guide.ShowMarketplace Method
SignedInGamer.Privileges Property
GamerPrivileges Class
GamerPrivileges Members
Microsoft.Xna.Framework.GamerServices Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP