dOPC Client Toolkit Help file
TdOPCServer.GetItemProperty Method
C++
public: __fastcall boolean GetItemProperty(
    AnsiString ItemId, 
    int PropId, 
    OleVariant Value
);
C#
public boolean GetItemProperty(
    String ItemId, 
    int PropId, 
    ref OleVariant Value
);
Visual Basic
Public Function GetItemProperty(
    ItemId As String, 
    PropId As Integer, 
    ByRef Value As OleVariant
) As boolean

GetItemProperty returns the current data value in the Value parameter for the item with the passed ItemId and the passed PropId.

The result will be True on successful execution, otherwise False.

What do you think about this topic? Send feedback!
Copyright © 2001-2014 Kassl GmbH (http://www.kassl.de). All rights reserved.