共用方式為


GamerPrivileges.AllowProfileViewing Property

Checks if this gamer is allowed to view the profiles of other gamers.

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

Syntax

public GamerPrivilegeSetting AllowProfileViewing { get; }

Property Value

true if this gamer is allowed to view the profiles of other gamers; false otherwise.

Remarks

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

This property is always true on Windows Phone.

See Also

Reference

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

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP