DANSrv Reference
GetPropertyValue Method
See Also  Send Feedback
NSPluginNet4 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 (Usage)Copy Code
Dim instance As GenericServer
Dim ItemHandle As Integer
Dim pID As Integer
Dim Value As Object
Dim value As Integer
 
value = instance.GetPropertyValue(ItemHandle, pID, Value)
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 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

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