DirectX SDK

DirectPlayEnumSessions.GetCount

The DirectPlayEnumSessions method retrieves the number of entries in the enumeration object.

object.GetCount() As Long

Parameters

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