首页 / base / oaAppObjectDefCollection

oaAppObjectDefCollection

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

概览

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

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

详细说明

The oaAppObjectDefCollection class stores a collection of extension types。 Use the oaAppObjectDefIter class to iterate over the extension types in this collection。

构造函数

_base.oaAppObjectDefCollection(database)

obj = _base.oaAppObjectDefCollection(database)

_base.oaAppObjectDefCollection(c)

obj = _base.oaAppObjectDefCollection(c)

方法总览

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

方法说明

obj.getCount()

绑定状态: 已绑定

Python 调用: obj.getCount()

This function returns the number of extension types in this collection。

Python 示例

from oapy._oa import _base

# assume obj is a oaAppObjectDefCollection
obj.getCount()

obj.isEmpty()

绑定状态: 已绑定

Python 调用: obj.isEmpty()

This function returns true if there are no extension types in this collection。 friend class oaIter < oaAppObjectDef > [friend]。

Python 示例

from oapy._oa import _base

# assume obj is a oaAppObjectDefCollection
obj.isEmpty()

obj.includes(object)

绑定状态: 已绑定

Python 调用: obj.includes(object)

This function returns true if an extension type, with the name and type of the specified oaAppObjectDef object, is in this collection。

参数

  • appObjectDef: The extension type to search for。

Python 示例

from oapy._oa import _base

# assume obj is a oaAppObjectDefCollection
obj.includes(object)