DANSrvAE Reference
GetPropertyValue Method
See Also  Send comments on this topic.
NSPlugin Assembly > 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

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

© 2004-2017 Advosol Inc. All Rights Reserved.