DirectX SDK

DirectPlayEnumLocalApplications.GetName

The DirectPlayEnumLocalApplications.GetName method retrieves the name of an enumerated application.

object.GetItem(index As Long) as String

Parameters

object
Object expression that resolves to a DirectPlayEnumLocalApplications object.
index
Element of the enumeration object for which to retrieve data.

Return Values

The method returns the name of the application.

Error Codes

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