Results 1 to 2 of 2

Thread: ListDictionary help

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Apr 2004
    Posts
    95

    ListDictionary help

    I have a ListDictionary. Inside is a byte() key and a ListDictionary value. I have another byte array, it has the exact same length, values, and System.Type of the ListDictionary key. Whenever I try this...

    VB Code:
    1. ' gotHash is a byte array that is the same as the mainDictionary's only key.
    2.  
    3. Dim nestedDictionary as ListDictionary
    4. nestedDictionary = CType(mainDictionary(gotHash), Byte())

    after that step, still no nestedDictionary. I know it's there, I can see it, but I can't use another byte() object to open it up. Why?

  2. #2

    Thread Starter
    Lively Member
    Join Date
    Apr 2004
    Posts
    95
    If I use the exact same instance of the byte array I used as a key, I can open it up. If I use another byte array with the same values, I can't. Anyone know why that is?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width