本页内容

RelativeNodePath QML Type

指定一个相对节点路径元素。更多...

Import Statement: import QtOpcUa
Since: QtOpcUa 5.12
Status: Deprecated since 6.9

自 QtOpcUa 6.9 起,此类型已被废弃。我们强烈建议不要在新代码中使用它。

属性

详细说明

import QtOpcUa as QtOpcUa

QtOpcUa.RelativeNodePath {
    ns: "Test Namespace"
    browseName: "SomeName"
}

另请参阅 Node 、NodeId 以及RelativeNodeId 。

属性文档

browseName : NodeId

此路径元素的名称。

includeSubtypes : bool

匹配此路径元素时是否包含子类型。该属性的默认值为true 。

isInverse : bool

后续引用是否为反向引用。该属性的默认值为false 。

ns : NodeId

此路径元素的命名空间名称。该标识符可以是数字形式的索引,也可以是字符串形式的名称。可转换为整数的字符串被视为命名空间索引。

referenceType : QOpcUa::ReferenceTypeId

匹配此路径元素时的引用类型。可以是QOpcUa::ReferenceTypeId 或NodeId 。该属性的默认值为Constants.ReferenceTypeId.References 。

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.