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) | Copy Code |
|---|---|
Dim instance As UaDataBind Dim itemID As NodeId Dim updControl As Object Dim property As String Dim fmt As DataBindFormat Dim value As DBLink value = instance.AddLink(itemID, updControl, property, fmt) | |
| C# | |
|---|---|
public DBLink AddLink( NodeId itemID, object updControl, string property, DataBindFormat fmt ) | |
Parameters
- itemID
- Fully qualified item ID
- updControl
- Object to be bound to
- property
- Name of the property to be bound to.
- fmt
- Object with format information
Return Value
HRESULT success/error codeTarget Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x