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

itemID
IN: The ItemID for which the caller wants to read the list of properties
propertyIDs
IN: The number of properties passed
propertiesData
OUT: 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. ( IOPCItemProperties::GetItemProperties )
NOTE: The paramters of this method differ from the OPC standard to make it more convenient to use.

Syntax

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

Parameters

itemID
IN: The ItemID for which the caller wants to read the list of properties
propertyIDs
IN: The number of properties passed
propertiesData
OUT: 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 2003/2008/2012/2016, .NET 4.x

See Also

Copyright © 2002-2018 Advosol Inc. All Rights Reserved.