Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is is possible to return multiple val from a module/func
Message
From
03/04/2004 15:58:30
John Baird
Coatesville, Pennsylvania, United States
 
 
To
02/04/2004 10:28:27
General information
Forum:
ASP.NET
Category:
Web forms
Miscellaneous
Thread ID:
00890841
Message ID:
00892041
Views:
24
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
Map
View

Click here to load this message in the networking platform