oaBaseCollection
模块: oapy._oa._base
导入: from oapy._oa import _base
概览
oaBaseCollection 在 oapy 中可用,可通过 _base 模块访问。
本页汇总 oaBaseCollection 当前在 oapy 中可用的 Python 接口。
详细说明
The oaBaseCollection class is the base class for the oaCollection classes。 The class is not used directly by callers, but it contains functions inherited by the oaCollection classes。
方法总览
| 状态 | Python 调用 |
|---|---|
| ✅ | obj.getCount() |
| ✅ | obj.isEmpty() |
| ✅ | obj.includes(object) |
方法说明
obj.getCount()
绑定状态: 已绑定
Python 调用: obj.getCount()
This function returns the number of objects in the collection。
Python 示例
from oapy._oa import _base
# assume obj is a oaBaseCollection
obj.getCount()
obj.isEmpty()
绑定状态: 已绑定
Python 调用: obj.isEmpty()
This function returns a boolean value indicating whether this collection is empty。
Python 示例
from oapy._oa import _base
# assume obj is a oaBaseCollection
obj.isEmpty()
obj.includes(object)
绑定状态: 已绑定
Python 调用: obj.includes(object)
This function returns a boolean value indicating whether the specified object is included in this collection。
Python 示例
from oapy._oa import _base
# assume obj is a oaBaseCollection
obj.includes(object)