OPCDA.NET Reference Manual
RemoveItems Method
See Also  Send Feedback
OpcDaNetUA.Net4 Assembly > OPCDA.NET Namespace > BGGroup Class : RemoveItems Method

srvHandles
Array of item server handles as they were returned in the AddItems call.
tag
This object is passed to the competion handler and allows the user to pass any information that may be needed in the completion handler. Nothing (null) can be specified if the application does not require to pass any information.
onCompleted
Completion notification handler. void xxx( BGException ex, int[] rslt, object tag ){}

Glossary Item Box

Available in the OPCDA.NET Professional Edition only.
The specified items are removed from the group in the OPC server.

Syntax

Visual Basic (Declaration) 
Public Sub RemoveItems( _
   ByVal srvHandles() As Integer, _
   ByVal tag As Object, _
   ByVal onCompleted As OnBGGrpRemoveItems _
) 
C# 
public void RemoveItems( 
   int[] srvHandles,
   object tag,
   OnBGGrpRemoveItems onCompleted
)

Parameters

srvHandles
Array of item server handles as they were returned in the AddItems call.
tag
This object is passed to the competion handler and allows the user to pass any information that may be needed in the completion handler. Nothing (null) can be specified if the application does not require to pass any information.
onCompleted
Completion notification handler. void xxx( BGException ex, int[] rslt, object tag ){}

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.