OPCDA.NET Reference Manual
Subscribe(String,Object,DataBindFormat) Method
See Also  Send Feedback
OpcDaNetUA.Net4 Assembly > OPCDA.NET Namespace > OpcDataBind Class > Subscribe Method : Subscribe(String,Object,DataBindFormat) Method

itemID
Fully qualified item ID
updControl
Windows control object or callback handler
fmt
Object with format information

Glossary Item Box

Create a subscription for one item. The item is added to the refresh group and the internal callback handler will write new values to the specified control. The value is formatted according the format definition object.

Syntax

Visual Basic (Declaration) 
Public Overloads Function Subscribe( _
   ByVal itemID As String, _
   ByVal updControl As Object, _
   ByVal fmt As DataBindFormat _
) As Subscription

Parameters

itemID
Fully qualified item ID
updControl
Windows control object or callback handler
fmt
Object with format information

Return Value

Subscription object or null on error

Requirements

Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2016, .NET 4.x

See Also

Copyright © 2002-2018 Advosol Inc. All Rights Reserved.