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.
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As UaDataBind Dim itemID As NodeId Dim updControl As Object Dim index As Integer Dim index2 As Integer Dim fmt As DataBindFormat Dim value As DBLink value = instance.AddLink(itemID, updControl, index, index2, fmt) |
C# | |
---|---|
public DBLink AddLink( NodeId itemID, object updControl, int index, int index2, DataBindFormat fmt ) |
Parameters
- itemID
- Fully qualified item ID
- updControl
- Windows control object or callback handler
- index
- Item index in the control
- index2
- Additional index for some controls. In a ListView control it defines the column.
- fmt
- Object with format information
Return Value
Subscription object or null on errorTarget Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x