dOPC Client Toolkit
Close
dOPCDA.TdOPCGroups.Items

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

property Items [Index: Integer]: TdOPCGroup;
__property TdOPCGroup Items[int Index];

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

or

with OPCServer do for i := 0 to GroupCount -1 do //for all groups in the collection ShowMessage(OPCGroups[i].Name); //show group name
Kassl GmbH Copyright © 2019. All rights reserved.