oaLibMode
模块: oapy._oa._dm
导入: from oapy._oa import _dm
概览
oaLibMode 在 oapy 中可用,可通过 _dm 模块访问。
本页汇总 oaLibMode 当前在 oapy 中可用的 Python 接口。
详细说明
oaLibMode is an wrapper class that encapsulates oaLibModeEnum values, which represent the modes available for accessing a library。 enum oaLibModeEnum Enumeration values: oacSharedLibMode "shared" This process will share the access to the library with other processes and may write to the library files in it oacNonSharedLibMode "nonShared" Only this process will be allowed to access the library and it may write to the library and files in it oacReadOnlyLibMode "readOnly" This process will only read the library and its files。 Other processes may access the library in read mode as well。
构造函数
_dm.oaLibMode(valueIn)
obj = _dm.oaLibMode(valueIn)
_dm.oaLibMode(name)
obj = _dm.oaLibMode(name)
方法总览
| 状态 | Python 调用 |
|---|---|
| ✅ | obj.getName() |
方法说明
obj.getName()
绑定状态: 已绑定
Python 调用: obj.getName()
This function returns the string name of the oaLibModeEnum value for this oaLibMode wrapper object。
Python 示例
from oapy._oa import _dm
# assume obj is a oaLibMode
obj.getName()