uaPLUS Reference
GetPropertyValue Method
See Also  Send Feedback
NSPlugin Namespace > GenericServer Class : GetPropertyValue Method

ItemHandle
Item application handle
pID
ID of the property
Value
Property value

Glossary Item Box

Returns the values of the requested custom properties of the requested item. This method is not called for the OPC standard properties 1..6. These are handled in the generic server.

Syntax

Visual Basic (Declaration) 
Public Function GetPropertyValue( _
   ByVal ItemHandle As Integer, _
   ByVal pID As Integer, _
   ByRef Value As Object _
) As Integer
C# 
public int GetPropertyValue( 
   int ItemHandle,
   int pID,
   out object Value
)

Parameters

ItemHandle
Item application handle
pID
ID of the property
Value
Property value

Return Value

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

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows 7, Windows Server 2008 family

See Also

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