共用方式為


Gamer.SignedInGamers Property

Represents a collection of all gamers on the local system. The collection is sorted by the gamer index, skipping nonexistent gamer indices. For example, if gamers 1 and 3 are signed in, the collection contains two instances of SignedInGamer, with gamer 1 first in the collection.

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

Syntax

public static SignedInGamerCollection SignedInGamers { get; }

Property Value

Collection of current gamers on the local system.

Remarks

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

At the start of the game on Windows Phone, this property is empty. Once the gamer is signed in, the property contains one value representing the gamer associated with this device.

See Also

Reference

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

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP