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) |
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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also