G
Guest
I am just starting to use the generics collection objects and am really
liking them. I am using the List object and want to use the FindAll method
to return a list of items that meets my criteria. The online help does not
have many examples and I am having a hard time figuring out how I need to
write my delegate to do the comparisions and to return my list of items that
meets the criteria set. Is the delegate signature preset or can I define my
own delegate paramaters? Specifically, I have a list of datapoints collected
over time and I want to be able to return a list of items for a particular
timespan. I wasnt to be able to pass into the delegate the begin time and
end time and possibly a few other evaluation criteria and then get back a
list of items that meets this criteria. Could someone give me an example of
how to do this?
liking them. I am using the List object and want to use the FindAll method
to return a list of items that meets my criteria. The online help does not
have many examples and I am having a hard time figuring out how I need to
write my delegate to do the comparisions and to return my list of items that
meets the criteria set. Is the delegate signature preset or can I define my
own delegate paramaters? Specifically, I have a list of datapoints collected
over time and I want to be able to return a list of items for a particular
timespan. I wasnt to be able to pass into the delegate the begin time and
end time and possibly a few other evaluation criteria and then get back a
list of items that meets this criteria. Could someone give me an example of
how to do this?