I am creating a custom control and I need to be able to collect an array of names and for each name an array of options as a property. One way I thought I could do it was to create a structure, but when the collection dialog comes up I click add but value is the only option and it's grayed out. How can I go about doing this?

Here is what I tried

VB Code:
  1. Public Structure TheStructure
  2.     Public AName as String
  3.     Public ANameOptions() as String
  4. End Structure
  5.  
  6. Private _TheCollection() as TheStructure
  7.  
  8. Public Property TheCollection as TheStructure()
  9.    Get
  10.      Return _TheCollection
  11.    End Get
  12.    Set(ByVal Value As TheStructure())
  13.      TheCollection = Value
  14.    End Set
  15. End Property