John Baird
Coatesville, Pennsylvania, United States
Thanks Bonnie...
>John,
>
>>Can't you return an object collection with as many objects as you wish?
>
>Yes, you can return a collection. That's a good point ... I should have mentioned that in my reply. =)
>
>But, since in this case, he was already returning an object that had an extra property that he wasn't using for anything (the Tag property of a ListViewItem), I thought it was easier to just use that to hold the string and not go through the bother of creating a collection.
>
>~~Bonnie
>
>
>>
>>
>>>Kirk,
>>>
>>>You can only return one object from your method, but since it's a ListViewItem, you can use it's Tag property to store the additional string that you wish to return.
>>>
>>>~~Bonnie
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only