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

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

Glossary Item Box

Create subscription to the named property in any class.

Syntax

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

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 code

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.