Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is is possible to return multiple val from a module/func
Message
De
03/04/2004 15:58:30
John Baird
Coatesville, Pennsylvanie, États-Unis
 
 
À
02/04/2004 10:28:27
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires Web
Divers
Thread ID:
00890841
Message ID:
00892041
Vues:
21
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
Fil
Voir

Click here to load this message in the networking platform