PHP 手冊
前一頁 |  | 下一頁

# com_isenum

(PHP 4 >= 4.1.0)

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

## Description

bool com_isenum ( variant 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 the 節 called foreach 在 µÚ 16 章 statement to iterate over the contents of COM objects. See the 節 called For Each 在 參考 XII, COM and .Net (Windows) for more details.

前一頁 | 內容 | 下一頁
com_invoke | 上一層 | com_load_typelib