THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 18/05/2006 at 03:09, xxxxxxxx wrote:
I wouldn't really be wise to store such large amounts of data in a BaseContainer directly like that, that could be very slow. If you really want to do that then you can use InsData just to add data to the BaseContainer, you can just set the ID to anything (same value even). A BaseContainer is just a list, so you can do what you like to it but keep in mind that means it uses memory and is slow. For every item in the BaseContainer, when you want to get/set an ID it must look through the list until it finds the ID! the more you have the longer it can take. If you use InsData you'll then need to get the data back directly, see BrowseContainer.
Best would be to save the data yourself with the Read,Write and CopyTo, or if you really want to stay within a BaseContainer you could use GeData and add a custom data type, but thats much more work than simply using Read, Write and CopyTo.