dOPC Client Toolkit Help file
TdOPCGroups.Items Property
public: __property TdOPCGroup Items[int Index];
public TdOPCGroup Items;
Visual Basic
Public Property Items() As TdOPCGroup

Items contains the TdOPCGroup objects which can be accessed via the Index parameter.

It is the default property of TdOPCGroups.

with OPCServer.OPCGroups do
  for i := 0 to Items.Count -1 do //for all groups in the collection
    ShowMessage(Items[i].Name); //show group name


with OPCServer do
  for i := 0 to GroupCount -1 do //for all groups in the collection
    ShowMessage(OPCGroups[i].Name); //show group name
What do you think about this topic? Send feedback!
Copyright © 2001-2014 Kassl GmbH ( All rights reserved.