EasyUA Reference
ReadAttribute(NodeId,UInt32) Method
See Also  Send Feedback
EasyUA Assembly > Advosol.EasyUA Namespace > Session Class > ReadAttribute Method : ReadAttribute(NodeId,UInt32) Method

nodeId
The node Id.
attributeId
The Id of the attribute to read.

Glossary Item Box

Reads the value of the specified attribute of the specified node. The server call is made with maxAge=0 and the TimestampsToReturn property.

Syntax

Visual Basic (Usage)Copy Code
Dim instance As Session
Dim nodeId As NodeId
Dim attributeId As UInteger
Dim value As DataValue
 
value = instance.ReadAttribute(nodeId, attributeId)
C# 
public DataValue ReadAttribute( 
   NodeId nodeId,
   uint attributeId
)

Parameters

nodeId
The node Id.
attributeId
The Id of the attribute to read.

Return Value

The read value

Requirements

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

See Also

Copyright © 2018 Advosol Inc. All Rights Reserved.