com_isenum

(PHP 4 >= 4.1.0)

com_isenum -- Indicates if a COM object has an IEnumVariant interface for iteration [deprecated]

Description

boolean com_isenum ( object com_module)

Checks to see if a COM object can be enumerated using the Next() method hack. Returns TRUE if it can, FALSE if it cannot. See COM class for more details on these methods.

Σημείωση: This function does not exist in PHP 5; use the more natural το τμήμα με όνομα foreach σε Κεφάλαιο 11 statement to iterate over the contents of COM objects. See το τμήμα με όνομα For Each σε Αναφορά VIII, COM and .Net (Windows) for more details.