dOPC Client Toolkit Help file
TdOPCPropertyBrowser.GetProperty Method
public: __fastcall TdOPCItemProperty GetProperty(
    AnsiString ItemId, 
    int PropId
public TdOPCItemProperty GetProperty(
    String ItemId, 
    int PropId
Visual Basic
Public Function GetProperty(
    ItemId As String, 
    PropId As Integer
) As TdOPCItemProperty

GetProperty returns a TdOPCItemProperty object for the item with the passed ItemId and the passed PropId.

P := PB.GetProperty('Random.String', OPC_PROP_DESC);
if P <> nil then
  Showmessage('property not found');
What do you think about this topic? Send feedback!
Copyright © 2001-2014 Kassl GmbH ( All rights reserved.