OPCDA.NET Reference Manual
Write(ItemDef,Object) Method
See Also  Send Feedback
OpcDaNetUA.Net4 Assembly > OPCDA.NET Namespace > SyncIOGroup Class > Write Method : Write(ItemDef,Object) Method

idef
IN: Item definition object
val
IN: value to write

Glossary Item Box

Write a value value to the item specified with the ItemDef object.
The ItemDef object was created in a previous Write, Read or Add call. This method overload is a bit more efficient because no ItemID search as to be done. Only in a SyncIOGroup with many items it could be a significant performance gain.
A synchronous OpcGroup write call is executed.

Syntax

Visual Basic (Declaration) 
Public Overloads Overridable Function Write( _
   ByVal idef As ItemDef, _
   ByVal val As Object _
) As Integer
C# 
public virtual int Write( 
   ItemDef idef,
   object val
)

Parameters

idef
IN: Item definition object
val
IN: value to write

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.