Share via


SignedInGamer.PlayerIndex Property

Gets the index of the gamer.

Namespace: Microsoft.Xna.Framework.GamerServices
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.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.

See Also

Reference

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

Platforms

Xbox 360, Windows XP SP2, Windows Vista, Zune