XMLDA.NET Reference
DataBindSubscribe Method
See Also  Send Feedback
xmldanet Namespace > XmlServer Class : DataBindSubscribe Method

parent
The object that owns the bound controls. This is used to thread synchronise the access to Windows.Forms controls. In DataBinds to other objects this parameter is not used.
refreshRate
Server update rate for poll/callback DataBind handling
localeID
Locale ID for error text. The default is "en"
Errors
Array with error code/text indicating erros at establishing the DataLink for an item. Null (Nothing) indicates success.

Glossary Item Box

Creates DataBind subscriptions to items of either an XML-DA or OPC-DA server

Syntax

Visual Basic (Usage)Copy Code
Dim instance As XmlServer
Dim parent As Object
Dim links() As DataBindSubscription
Dim refreshRate As Integer
Dim localeID As String
Dim Errors As OPCError()
 
instance.DataBindSubscribe(parent, links, refreshRate, localeID, Errors)
C# 
public void DataBindSubscribe( 
   object parent,
   DataBindSubscription[] links,
   int refreshRate,
   string localeID,
   out OPCError[] Errors
)

Parameters

parent
The object that owns the bound controls. This is used to thread synchronise the access to Windows.Forms controls. In DataBinds to other objects this parameter is not used.
links
Array of DataBind definitions, assigning server items to user objects
refreshRate
Server update rate for poll/callback DataBind handling
localeID
Locale ID for error text. The default is "en"
Errors
Array with error code/text indicating erros at establishing the DataLink for an item. Null (Nothing) indicates success.

Requirements

Target Platforms:Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows 7, Windows Server 2008 family

>

See Also

© 2002-2012 Advosol Inc. All Rights Reserved.