So you want to determine the type of an object in an array and query its
properties? Use nested foreach statements (branching logic) starting with an
outer branch using the GetType method. When the outer branch finds the type
you are looking for, a nested foreach branch finds the property unique to
the type. Using foreach does all the magic with the indexer of the array
while other methods could require writing more code. Finally, foreach is an
efficient way to step through an array.
<%= Clinton Gallagher
NET csgallagher AT metromilwaukee.com
URL
http://www.metromilwaukee.com/clintongallagher/
"Katit" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Is it possible to find object in array with specific property value?
> Just like dataset filter?
>
> Thanks!
>