Platform SDK: DirectX

DirectPlayEnumPlayers.GetCount

The DirectPlayEnumPlayers.GetCount method retrieves the number of entries in the enumeration object.

object.GetCount() As Long

Parameters

object
Object expression that resolves to a DirectPlayEnumPlayers object.

Return Values

The method returns the number of entries in the enumeration object.

Error Codes

If the method fails, an error is raised and Err.Number will be set.