Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the index of the gamer.
Namespace: Microsoft.Xna.Framework.GamerServices
Assembly: Microsoft.Xna.Framework.GamerServices (in microsoft.xna.framework.gamerservices.dll)
Syntax
public PlayerIndex PlayerIndex { get; }
Property Value
Index of the gamer.
Exceptions
| Exception type | Condition |
|---|---|
| ObjectDisposedException | Thrown if the associated profile is no longer valid. For example, the profile may have signed out. |
Remarks
Windows Phone Specific Information |
|---|
This property is always PlayerIndex.One on Windows Phone. |
See Also
Reference
SignedInGamer Class
SignedInGamer Members
Microsoft.Xna.Framework.GamerServices Namespace
Platforms
Xbox 360, Windows 7, Windows Vista, Windows XP
Windows Phone Specific Information