Previous | Index | Next 

List property

The List property isn’t supported; it can be rendered using the Items collection. Notice that the VB6 List property returns an empty string when the index is out of valid range, whereas you get an exception if you attempt to access a nonexisting element of the .NET Items collection. Along the same line, in VB6 you can create a new element by assigning the List property of the first available index:

        List1.List(List1.ListCount) = "new item"
This feature isn’t supported by the Items collection.

VB Migration Partner fully support this property, including all its quirks and undocumented behaviors.

 

Previous | Index | Next