TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
neubs007
NA
4
0
Get object in Collection by Name
Jan 7 2005 12:01 PM
I have the following classses: Item Property :String Name +10 other Properties Items ~ able to add & remove Item Objects as needed and access an Item object by using the following syntax myCollectionOfItems[0].name. My question is How can I access the item in this collection by entering the "Name" property and not the Index that it was placed in the Items Collection? I want to be able to enter myCollectionOfItems["NameOfItem"] and have it return that Item Object. I want to access it similar to a datarow where you can either enter in the index or the string name of the column you want to access. Any Ideas????
Reply
Answers (
1
)
Drop Down Menues
Problems firing events in a remote object