John Baird
Coatesville, Pennsylvanie, États-Unis
Information générale
Catégorie:
Formulaires Web
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
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement