DirectX SDK

DirectPlayEnumConnections.GetCount

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

object.GetCount() As Long

Parameters

object
Object expression that resolves to a DirectPlayEnumConnections 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.