共用方式為


SignedInGamer.PartySize Property

Gets the current party size.

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

Syntax

public int PartySize { get; set; }

Property Value

The current number of members in this signed-in gamer's LIVE Party.

Remarks

This is a read-only property. You cannot use it to set the party size. On platforms such as Windows Phone that do not support Xbox LIVE parties, the value of this property is always zero.

See Also

Tasks

Inviting a Group to Join Your Game (Xbox 360)

Reference

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

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP