首页 / base / oaEnumCollection

oaEnumCollection

模块: oapy._oa._base 导入: from oapy._oa import _base

概览

oaEnumCollectionoapy 中可用,可通过 _base 模块访问。

本页汇总 oaEnumCollection 当前在 oapy 中可用的 Python 接口。

详细说明

The oaEnumCollection class represents a list of enumeration strings to traverse。 This class is returned by the oaEnumProp::getEnums() call。 The oaEnumCollection class is primarily used to initialize an oaEnumPropIter iterator so that the members of the collection can be retrieved。

方法总览

状态 Python 调用
obj.getCount()
obj.isEmpty()

方法说明

obj.getCount()

绑定状态: 已绑定

Python 调用: obj.getCount()

This function returns the number of strings in the collection。

Python 示例

from oapy._oa import _base

# assume obj is a oaEnumCollection
obj.getCount()

obj.isEmpty()

绑定状态: 已绑定

Python 调用: obj.isEmpty()

This function returns a boolean value indicating whether there are any members in the collection。

Python 示例

from oapy._oa import _base

# assume obj is a oaEnumCollection
obj.isEmpty()