Opc.Ua.Core
AddReference Method (NodeState)



Opc.Ua Namespace > NodeState Class : AddReference Method
Type of the reference.
If set to true the refernce is an inverse reference.
The target of the reference.
Adds a reference.
Syntax
'Declaration
 
Public Sub AddReference( _
   ByVal referenceTypeId As NodeId, _
   ByVal isInverse As Boolean, _
   ByVal targetId As ExpandedNodeId _
) 
 
'Usage
 
Dim instance As NodeState
Dim referenceTypeId As NodeId
Dim isInverse As Boolean
Dim targetId As ExpandedNodeId
 
instance.AddReference(referenceTypeId, isInverse, targetId)

Parameters

referenceTypeId
Type of the reference.
isInverse
If set to true the refernce is an inverse reference.
targetId
The target of the reference.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

NodeState Class
NodeState Members