weickelt

IEnumSchematicDataset.next

Discussion created by weickelt on Jan 28, 2011
Latest reply on Jan 31, 2011 by weickelt
Hi,

I want to add elements of SchematicDatasets (IEnumSchematicDataset) to a list (schematicDatasets). The enumeration count is three. In the list are three elements, but it is threetimes the first element of the enumeration. How do I get the second and the third element of the enumeration in the list?

schematicWorkspace.SchematicDatasets.Reset()
While schematicDatasets.Count() <> schematicWorkspace.SchematicDatasets.Count()
       schematicDatasets.Add(schematicWorkspace.SchematicDatasets.Next)
End While

Outcomes