SignedInGamer.PlayerIndex Property

Gets the index of the gamer.

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

public PlayerIndex PlayerIndex { get; }

Property Value

Index of the gamer.

Exception typeCondition
ObjectDisposedExceptionThrown if the associated profile is no longer valid. For example, the profile may have signed out.

Xbox 360, Windows XP SP2, Windows Vista, Zune

Community Additions