OPCDA.NET-UA
GetItemProperties Method
See Also  Send Feedback
OpcDaNetUaOption.Net4 Assembly > UA_Wrapper Namespace > Server Class : GetItemProperties Method

itemID
IN: The ItemID for which the caller wants to read the list of properties
propertyIDs
The number of properties passed
getValues
propertiesData
An array ItemPropertyData classes with the current values and error information of the requested properties

Glossary Item Box

Return a list of the current data values for the passed ID codes.

Syntax

Visual Basic (Declaration) 
Public Function GetItemProperties( _
   ByVal itemID As String, _
   ByVal propertyIDs() As Integer, _
   ByVal getValues As Boolean, _
   ByRef propertiesData As OPCDA.NET.ItemPropertyData() _
) As Integer
C# 
public int GetItemProperties( 
   string itemID,
   int[] propertyIDs,
   bool getValues,
   out OPCDA.NET.ItemPropertyData[] propertiesData
)

Parameters

itemID
IN: The ItemID for which the caller wants to read the list of properties
propertyIDs
The number of properties passed
getValues
propertiesData
An array ItemPropertyData classes with the current values and error information of the requested properties

Return Value

HRESULT error/success code

Requirements

Target Platforms: Windows 7/8/10, Windows Server 2008/2012/2016, .NET 4.7.2

See Also

Copyright © 2020 Advosol Inc. All Rights Reserved.