I am trying to query all of the items in a discussion list. However, the
SPListItemCollection I get back from calling SPList.Items does not contain
all of the items. A discussion list is made of up two content types, one for
discussion and one for message (the replies) and the SPList.Items property
only appears to be returing the items of the message content type. To test
this, I created a discussion list, created two discusssion entries and then
replied to those with three messages for a total of 5 items. When I call
SPList.Items, it only returns 3 items, all of which are of the message
content type. Interestingly enough however, the SPList.ItemCount property
returns 5. I have tested this on WSS 3.0 with and without SP1. Any ideas?