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

arrDef
IN: Array of item definitions. Item access characteristics sucha as the requested data type can be specified.
aRslt
Returns the server item handles that are used in read/write calls to reference the item.
The result structure differs from the OPC specification and additionaly contains the error code. OPC has it in a separate array.

Glossary Item Box

validate a set of items. ( IOPCItemMgt::ValidateItems )
Determines if an item is valid (could it be added without error). Also returns information about the item such as canonical datatype. Does not affect the group in any way.

Syntax

Visual Basic (Declaration) 
Public Function ValidateItems( _
   ByVal arrDef() As OPCItemDef, _
   ByRef aRslt As OPCItemResult() _
) As Integer
C# 
public int ValidateItems( 
   OPCItemDef[] arrDef,
   out OPCItemResult[] aRslt
)

Parameters

arrDef
IN: Array of item definitions. Item access characteristics sucha as the requested data type can be specified.
aRslt
Returns the server item handles that are used in read/write calls to reference the item.
The result structure differs from the OPC specification and additionaly contains the error code. OPC has it in a separate array.

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.