이 페이지에서

MethodArgument QML Type

OpcUa 메서드 호출에 대한 인자. 더 보기...

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

이 타입은 QtOpcUa 6.9부터 사용 중단되었습니다. 새로운 코드에서는 이 타입을 사용하지 않는 것을 강력히 권장합니다.

속성

상세 설명

인수가 필요한 메서드를 호출할 때 이 유형이 사용됩니다.

이 예제는 두 개의 double 인자를 가진 메서드를 호출하는 방법을 보여줍니다.

QtOpcUa.MethodNode {
    ...
    inputArguments: [
        QtOpcUa.MethodArgument {
            value: 3
            type: QtOpcUa.Constants.Double
        },
        QtOpcUa.MethodArgument {
            value: 4
            type: QtOpcUa.Constants.Double
        }
    ]
}

속성 설명

value : variant

인수의 값.

© 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.