EasyUA Reference
GetAttributeValue(FilterContext,NodeId,IList<QualifiedName>,UInt32,NumericRange) Method
See Also  Send Feedback
Opc.Ua.Core.Net4 Assembly > Opc.Ua Namespace > InstanceStateSnapshot Class : GetAttributeValue(FilterContext,NodeId,IList<QualifiedName>,UInt32,NumericRange) Method

context
The context to use when evaluating the operand.
typeDefinitionId
The type of the instance.
relativePath
The path from the instance to the node which defines the attribute.
attributeId
The attribute to return.
indexRange
The sub-set of an array value to return.

Glossary Item Box

Returns the value of the attribute for the specified child.

Syntax

Visual Basic (Usage)Copy Code
Dim instance As InstanceStateSnapshot
Dim context As FilterContext
Dim typeDefinitionId As NodeId
Dim relativePath As IList(Of QualifiedName)
Dim attributeId As UInteger
Dim indexRange As NumericRange
Dim value As Object
 
value = instance.GetAttributeValue(context, typeDefinitionId, relativePath, attributeId, indexRange)

Parameters

context
The context to use when evaluating the operand.
typeDefinitionId
The type of the instance.
relativePath
The path from the instance to the node which defines the attribute.
attributeId
The attribute to return.
indexRange
The sub-set of an array value to return.

Return Value

The attribute value. Returns null if the attribute does not exist.

Requirements

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

See Also

Copyright © 2018 Advosol Inc. All Rights Reserved.