uaPLUS Reference
DlgQueryProperties Delegate
See Also  Send Feedback
Advosol.uaPLUS Namespace : DlgQueryProperties Delegate

itemHandle
Application item handle
ids
Array with the the property ID number
names
Array with the property names. This symbolic name is used only in the XML-DA server. It is ignored by the DANSrv OPC DA server.
descriptions
Array with the property description
vals
Array with the current property values

Glossary Item Box

Query the properties defined for the specified item

Syntax

Visual Basic (Declaration) 
Public Delegate Function DlgQueryProperties( _
   ByVal itemHandle As Integer, _
   ByRef ids As Integer(), _
   ByRef names As String(), _
   ByRef descriptions As String(), _
   ByRef vals As Object() _
) As Integer
C# 
public delegate int DlgQueryProperties( 
   int itemHandle,
   out int[] ids,
   out string[] names,
   out string[] descriptions,
   out object[] vals
)

Parameters

itemHandle
Application item handle
ids
Array with the the property ID number
names
Array with the property names. This symbolic name is used only in the XML-DA server. It is ignored by the DANSrv OPC DA server.
descriptions
Array with the property description
vals
Array with the current property values

Return Value

HRESULT success/error code. S_FALSE if the item has no custom properties.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

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