<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: The wrong way to iterate through SharePoint SPList Items</title>
	<atom:link href="http://blog.dynatrace.com/2009/01/11/the-wrong-way-to-iterate-through-sharepoint-splist-items/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.dynatrace.com/2009/01/11/the-wrong-way-to-iterate-through-sharepoint-splist-items/</link>
	<description>dynaTrace Blog on Performance, Scalabilty and Architecture - Java and .NET  Application Performance Management</description>
	<lastBuildDate>Thu, 11 Mar 2010 22:16:09 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Andreas Grabner</title>
		<link>http://blog.dynatrace.com/2009/01/11/the-wrong-way-to-iterate-through-sharepoint-splist-items/comment-page-1/#comment-10853</link>
		<dc:creator>Andreas Grabner</dc:creator>
		<pubDate>Sun, 10 Jan 2010 10:29:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dynatrace.com/?p=263#comment-10853</guid>
		<description>@Michhes: using SPList.ItemCount is a good way of getting the number of elements. It doesn&#039;t require a roundtrip to the database as the itemcount is kept in memory. Check out my other blogs on the SharePoint topic - you will find some more useful information about the SharePoint API</description>
		<content:encoded><![CDATA[<p>@Michhes: using SPList.ItemCount is a good way of getting the number of elements. It doesn&#8217;t require a roundtrip to the database as the itemcount is kept in memory. Check out my other blogs on the SharePoint topic &#8211; you will find some more useful information about the SharePoint API</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michhes</title>
		<link>http://blog.dynatrace.com/2009/01/11/the-wrong-way-to-iterate-through-sharepoint-splist-items/comment-page-1/#comment-10824</link>
		<dc:creator>Michhes</dc:creator>
		<pubDate>Sat, 09 Jan 2010 15:23:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dynatrace.com/?p=263#comment-10824</guid>
		<description>I use SPList.ItemCount instead and/or an alternative access method (eg. GetItems() with a CAML query). 

See http://msdn.microsoft.com/en-us/library/bb687949.aspx</description>
		<content:encoded><![CDATA[<p>I use SPList.ItemCount instead and/or an alternative access method (eg. GetItems() with a CAML query). </p>
<p>See <a href="http://msdn.microsoft.com/en-us/library/bb687949.aspx" rel="nofollow"></a><a href='http://msdn.microsoft.com/en-us/library/bb687949.aspx'>http://msdn.microsoft.com/en-us/library/bb687949.aspx</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SharePoint: Only request data that you really need Performance, Scalability and Architecture &#8211; Java and .NET Application Performance Management (dynaTrace Blog)</title>
		<link>http://blog.dynatrace.com/2009/01/11/the-wrong-way-to-iterate-through-sharepoint-splist-items/comment-page-1/#comment-6090</link>
		<dc:creator>SharePoint: Only request data that you really need Performance, Scalability and Architecture &#8211; Java and .NET Application Performance Management (dynaTrace Blog)</dc:creator>
		<pubDate>Sat, 12 Sep 2009 19:28:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dynatrace.com/?p=263#comment-6090</guid>
		<description>[...] back at the previous two posts (Scenario 1, Scenario 2) you can see that the executed SQL Statement always selected ALL items from requested SharePoint [...]</description>
		<content:encoded><![CDATA[<p>[...] back at the previous two posts (Scenario 1, Scenario 2) you can see that the executed SQL Statement always selected ALL items from requested SharePoint [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Iteration versus Catching Expected Exceptions &#171; SharePoint 2007 Hut</title>
		<link>http://blog.dynatrace.com/2009/01/11/the-wrong-way-to-iterate-through-sharepoint-splist-items/comment-page-1/#comment-2391</link>
		<dc:creator>Iteration versus Catching Expected Exceptions &#171; SharePoint 2007 Hut</dc:creator>
		<pubDate>Wed, 22 Apr 2009 14:49:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dynatrace.com/?p=263#comment-2391</guid>
		<description>[...] how to iterate, check this blog. Possibly related posts: (automatically generated)Java generics gotchaMore ArcGIS Geoprocessing [...]</description>
		<content:encoded><![CDATA[<p>[...] how to iterate, check this blog. Possibly related posts: (automatically generated)Java generics gotchaMore ArcGIS Geoprocessing [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fussball deutschland</title>
		<link>http://blog.dynatrace.com/2009/01/11/the-wrong-way-to-iterate-through-sharepoint-splist-items/comment-page-1/#comment-1324</link>
		<dc:creator>fussball deutschland</dc:creator>
		<pubDate>Wed, 04 Mar 2009 12:31:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dynatrace.com/?p=263#comment-1324</guid>
		<description>Gute Arbeit hier! Gute Inhalte.</description>
		<content:encoded><![CDATA[<p>Gute Arbeit hier! Gute Inhalte.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andreas Grabner</title>
		<link>http://blog.dynatrace.com/2009/01/11/the-wrong-way-to-iterate-through-sharepoint-splist-items/comment-page-1/#comment-1129</link>
		<dc:creator>Andreas Grabner</dc:creator>
		<pubDate>Thu, 12 Feb 2009 03:29:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dynatrace.com/?p=263#comment-1129</guid>
		<description>The above examples behave the same way in debug or release. Accessing the property is actually invoking the get accessor method. As the get accessor is in fact a method the compiler cannot just optimize the call for you as there can be logic in the accessor that needs to be exected each time the property is accessed.

There is however a better way to iterate through the list - namely - using a foreach loop. Maybe thats what you are refering to.
The foreach loop is compiled in a way that the propertie&#039;s IEnumerator return value is stored in a local variable. This IEnumerator is then used to iteratore over each element.</description>
		<content:encoded><![CDATA[<p>The above examples behave the same way in debug or release. Accessing the property is actually invoking the get accessor method. As the get accessor is in fact a method the compiler cannot just optimize the call for you as there can be logic in the accessor that needs to be exected each time the property is accessed.</p>
<p>There is however a better way to iterate through the list &#8211; namely &#8211; using a foreach loop. Maybe thats what you are refering to.<br />
The foreach loop is compiled in a way that the propertie&#8217;s IEnumerator return value is stored in a local variable. This IEnumerator is then used to iteratore over each element.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://blog.dynatrace.com/2009/01/11/the-wrong-way-to-iterate-through-sharepoint-splist-items/comment-page-1/#comment-1128</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Wed, 11 Feb 2009 23:30:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dynatrace.com/?p=263#comment-1128</guid>
		<description>I wonder if you tested this behavior in Release build mode?
I think that it could work normally, because VS will optimize your calls</description>
		<content:encoded><![CDATA[<p>I wonder if you tested this behavior in Release build mode?<br />
I think that it could work normally, because VS will optimize your calls</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Good Links, February 3, 2009 &#171; Emad&#8217;s Weblog</title>
		<link>http://blog.dynatrace.com/2009/01/11/the-wrong-way-to-iterate-through-sharepoint-splist-items/comment-page-1/#comment-1090</link>
		<dc:creator>Good Links, February 3, 2009 &#171; Emad&#8217;s Weblog</dc:creator>
		<pubDate>Tue, 03 Feb 2009 20:30:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dynatrace.com/?p=263#comment-1090</guid>
		<description>[...] The right and wrong ways to iterate through SharePoint List items: http://blog.dynatrace.com/2009/01/11/the-wrong-way-to-iterate-through-sharepoint-splist-items/ [...]</description>
		<content:encoded><![CDATA[<p>[...] The right and wrong ways to iterate through SharePoint List items: <a href="http://blog.dynatrace.com/2009/01/11/the-wrong-way-to-iterate-through-sharepoint-splist-items/" rel="nofollow"></a><a href='http://blog.dynatrace.com/2009/01/11/the-wrong-way-to-iterate-through-sharepoint-splist-items/'>http://blog.dynatrace.com/2009/01/11/the-wrong-way-to-iterate-through-sharepoint-splist-items/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hristo Pavlov</title>
		<link>http://blog.dynatrace.com/2009/01/11/the-wrong-way-to-iterate-through-sharepoint-splist-items/comment-page-1/#comment-1013</link>
		<dc:creator>Hristo Pavlov</dc:creator>
		<pubDate>Mon, 19 Jan 2009 23:09:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dynatrace.com/?p=263#comment-1013</guid>
		<description>Very nice article and defenitely a permanent link to your blog from my blog :)

Keep up the good work!</description>
		<content:encoded><![CDATA[<p>Very nice article and defenitely a permanent link to your blog from my blog <img src='http://blog.dynatrace.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Keep up the good work!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
