dOPC Client Toolkit Help file
TdOPCServer.LookupItemId Method
C++
public: __fastcall AnsiString LookupItemId(
    AnsiString ItemId, 
    DWORD PropId
);
C#
public String LookupItemId(
    String ItemId, 
    DWORD PropId
);
Visual Basic
Public Function LookupItemId(
    ItemId As String, 
    PropId As DWORD
) As String

LookUpItemId returns an ItemID (if available) for the passed ItemID and the passed PropId.

The item specified by the returned ItemID can be added to a TdOPCGroup for more efficient data access. An error in the error array may indicate that the passed PropID is not defined for the item passed by ItemID.

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