Wilson,
When you say that you can't access the Name property in code, do you just mean that it doesn't show up in Intellisense? I've seen a few controls that for some reason do not show all their properties in Intellisense, yet if you type it in anyway there's no compiler error and it works as expected. I forget which controls I've discovered that do this, but I *do* remember it being the .Text property. Try to type in Name even though it doesn't show in Intellisense and see if it compiles ok.
~~Bonnie
>I made a class (MyCollection) that implements an Ilist interface.
>
>I have class name MyClass, this will be the collection of objects.
>This class inherits the Component class in order to change its properties at design-time.
>
>I also have a component class that expose MyCollection as a property
>
>MyClass have a property named Value, so when i add a item at design-time through the properties window, in the collection editor, MyClass exposed a property named (Name). I did not add this property, but if i try to access that property by code i can't access it.
>
>and if i add a (Name) property to MyClass, in the collection editor at design-time i see two named properties.
>
>How can i have only one name property and also access it by code.