EasyUA Reference
AddLink(NodeId,Object) Method
See Also  Send Feedback
EasyUA Assembly > Advosol.EasyUA Namespace > UaDataBind Class > AddLink Method : AddLink(NodeId,Object) Method

itemID
Fully qualified item ID
updControl
Windows control object or callback handler

Glossary Item Box

Create a DataBind link for one item. The item is added to the refresh group and the internal callback handler will write new values to the specified control.
DataBind.ApplyChanges() must be called for the added links to be activated in the server. This is to increase performance by activating multple links with a single server access.

Syntax

Visual Basic (Usage)Copy Code
Dim instance As UaDataBind
Dim itemID As NodeId
Dim updControl As Object
Dim value As DBLink
 
value = instance.AddLink(itemID, updControl)
C# 
public DBLink AddLink( 
   NodeId itemID,
   object updControl
)

Parameters

itemID
Fully qualified item ID
updControl
Windows control object or callback handler

Return Value

Subscription object or null on error

Requirements

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

See Also

Copyright © 2018 Advosol Inc. All Rights Reserved.