ApplicationDescription.MaxPlayers Property (Microsoft.DirectX.DirectPlay)

Warning: This property is deprecated. Deprecated components of Microsoft DirectX 9.0 for Managed Code are considered obsolete. While these components are still supported in this release of DirectX 9.0 for Managed Code, they may be removed in the future. When writing new applications, you should avoid using these deprecated components. When modifying existing applications, you are strongly encouraged to remove any dependency on these components.

Variable of type DWORD, specifying the maximum number of players allowed in the session. Set this member to 0 to specify an unlimited number of players. Deprecated.

Definition

Visual Basic Public Property MaxPlayers As Integer
C# public int MaxPlayers { get; set; }
C++ public:
property int MaxPlayers {
        int get();
        void set(int value);
}
JScript public function get MaxPlayers() : int
public function set MaxPlayers(int);

Property Value

System.Int32

This property is read/write.