COM 函数
PHP Manual

com_isenum

(PHP 4 >= 4.1.0)

com_isenum获取一个 IEnumVariant

说明

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.

参数

com_module

The COM object.

返回值

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

注释

Note:

This function does not exist in PHP 5; use the more natural foreach statement to iterate over the contents of COM objects. See For Each for more details.


COM 函数
PHP Manual