COM Funkcje
PHP Manual

com_isenum

(PHP 4 >= 4.0.7)

com_isenumIndicates if a COM object has an IEnumVariant interface for iteration [deprecated]

Opis

bool com_isenum ( variant $com_module )

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

Parametry

com_module

The COM object.

Zwracane wartości

Returns TRUE if the object can be enumatated, FALSE otherwise.

Notatki

Informacja: This function does not exist in PHP 5; use the more natural foreach statement to iterate over the contents of COM objects. See Przykłady for more details.


COM Funkcje
PHP Manual