The documentation is indeed somewhat confusing. Judging from the code it
uses reflection to grab a property value from the passed in item. The
overload that takes a string lets you specify which property to get and the
other overload simply gives you the value of whatever property you assigned
to DisplayMember
It looks a little bit like an internal method that got documented by
mistake...
/claes
> Does anyone have any idea what the ListControl.FilterItemOnProperty()
> method does? I'm not sure the MSDN documentation for it is written in
> English....
Jeff Johnson - 25 Mar 2008 14:36 GMT
> The documentation is indeed somewhat confusing. Judging from the code it
> uses reflection to grab a property value from the passed in item.
ARRGGHH!! Why didn't I think of simply decompiling the code? Thanks!