Microsoft DirectX 8.1 (C++)

Programs.ItemWithID

This topic applies to Windows XP Home Edition and Windows XP Professional only.

The ItemWithID property retrieves a Program object from the collection by specifying the Guide Store identifier.

Syntax

objPrograms.ItemWithID(id As Long) As Program

Parameters

id

[in]  Specifies the unique identifier of the Program object.

Error Codes

If the property fails, an error is raised and Err.Number is set to a value other than zero.

Return Values

This property returns a Program object.

See Also