|
-
Apr 10th, 2005, 02:12 PM
#1
Thread Starter
Addicted Member
Is there a collection that works like a Dictionary? [resolved]
Hey Guys,
I saw somewhere on MSDN that there is a collection that works much like an array and a dictonary combined. Now I can't seem to find it anymore. Does anyone know what namespace this type of collection is.
What it needs to do is have the ability of going through the collection based on Index or Based on a Key. The most important thing is it has to have the ability to be multidemnsional or have the ability to store sperate values for just one Key or Index.
I will be using it to keep track of data I remotely receive using WMI. For each machine I want to be able to access the data from this collection and retieve data based on the position it is in inside the array based on what dimension of the array it is in. Somewhat like an excel speard sheet.
EX:
Key=Machine Name Mapped Network Drives Last User on Processes
SomeMachineName Drive U;Drive;z kevin colletion of processes
something to that effect. I have a custom class I created that uses a dictionary object that uses the machine names as keys and inside the vale for the key is the index of a sperate array that is multidimensional which contains information from my scans.
It's kinda hard to work with but it works. There must be something else out there in the collection namespace that can do what I am already doing but better.
Thank you
Last edited by Porsche944; May 6th, 2005 at 07:34 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|