dOPC Client Toolkit Help file
TdOPCPropertyBrowser.ByName Method
C++
public: __fastcall TdOPCItemProperties ByName(
    AnsiString ItemId
);
C#
public TdOPCItemProperties ByName(
    String ItemId
);
Visual Basic
Public Function ByName(
    ItemId As String
) As TdOPCItemProperties

ByName returns the TdOPCItemProperties of an item with the passed ItemId.

Props := PB.ByName('Random.Id');
if Props <> nil then
  for i := 0 to Props.Count-1 do
  begin
    Prop := Props[i];
    ...
  end;
What do you think about this topic? Send feedback!
Copyright © 2001-2014 Kassl GmbH (http://www.kassl.de). All rights reserved.