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

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

Glossary Item Box

Reads the value of an attribute.

Syntax

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

Parameters

context
The context for the current operation.
attributeId
The attribute id.
indexRange
The index range.
dataEncoding
The data encoding.
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.