EasyUA Reference
WriteAttribute Method
See Also  Send Feedback
Opc.Ua.Core.Net4 Assembly > Opc.Ua Namespace > NodeState Class : WriteAttribute Method

context
The context for the current operation.
attributeId
The attribute id.
indexRange
The index range.
value
The value.

Glossary Item Box

Writes the specified attribute value.

Syntax

Visual Basic (Usage)Copy Code
Dim instance As NodeState
Dim context As ISystemContext
Dim attributeId As UInteger
Dim indexRange As NumericRange
Dim value As DataValue
Dim value As ServiceResult
 
value = instance.WriteAttribute(context, attributeId, indexRange, value)

Parameters

context
The context for the current operation.
attributeId
The attribute id.
indexRange
The index range.
value
The value.

Return Value

An instance of the ServiceResult containing the status code and diagnostic info for the operation. ServiceResult.Good if successful. Detailed error information otherwise.

Requirements

Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x

See Also

Copyright © 2018 Advosol Inc. All Rights Reserved.